The Path command helps you make short-term path changes that affect a specific command window.
This command uses the following syntax:
PATH [[drive:]path[;...][;%PATH%]
PATH ;
The following list describes each of the command line arguments.
drive Specifies the drive to use for the path entry. The default is to use the current drive, current
being relative to where you are at any given moment. Always define a drive when changing
the path to avoid unwanted drive reference problems.
path Specifies the absolute path to use for the entry. You can??™t use a relative path with the Path
command. Separate multiple path entries with a semicolon (;).
%PATH% Obtains the current path environment variable value. In fact, you can access any other
environment variable by enclosing it within percent signs (%). The ???Managing Environment
Variables with the Set Command??? section of Chapter 5 provides details on working with environment
variables. Any environment variable that contains path information can appear as part
of the Path command. The most common environment variable used for this purpose is
%WINDIR%, which contains the location of the current Windows directory.
Pages:
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646