Results 1 to 2 of 2

Thread: NLDRcsEnvironmentVars

  1. #1

    NLDRcsEnvironmentVars

    ------------
    De sources van NLDDanyUtils zijn te vinden in:
    ftp://ftp.nldelphi.com/public/OpenSo.../NLDDanyUtils/
    ------------

    Deze unit bevat routines voor het behandelen van de zgn "Environment" variabelen (die dmv het ms-dos "Set" command gezet en bekeken kunnen worden).

    De interface van deze unit:
    Code:
    procedure GetEnvironmentVars(EVars: TStrings);
    // Gets all environment variables in a StringList "EVars".
    // To access the different entries, one can use the "count", "names" and
    // "values" properties of "TStrings".
    // Also the function "GetEnvironmentVar" below can be used.
    
    procedure GetEnvironmentVarNames(Names: TStrings);
    // Gets all environment variable names (not the values) in a StringList "Names"
    
    procedure SetEnvironmentVar(const Name, Value: string);
    // Sets the (local) environment variable "Name" to the value "Value".
    
    function GetEnvironmentVar(const Name: string): string;
    // Returns the value of the (local) environment variable "Name".
    
    function GetPATHEnvironmentVar: string; overload;
    // Returns the complete "PATH" environment variable value in a string.
    
    procedure GetPATHEnvironmentVar(Paths: TStrings); overload;
    // Returns the "PATH" environment variable value in "Paths",
    // each entry in "Paths" is actually one path.
    
    Last edited by Dany; 23-Nov-06 at 20:23.

  2. #2
    Vriendelijke groeten,
    Dany

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •