cmd path
# Description:
# Sets the command path in the PATH environment variable, specifying the set
# of directories used to search for executable (.exe) files. If used without
# parameters, this command displays the current command path.
# Syntax:
path [[<drive>:]<path>[;...][;%PATH%]]
path ;
# Examples:
# To search the paths c:\user\taxes, b:\user\invest, and b:\bin for external
# commands, type:
path c:\user\taxes;b:\user\invest;b:\bin
# Parameter: Description:
[<drive>:]<path> # Specifies the drive and directory to set in the command
# path. The current directory is always searched before
# the directories specified in the command path.
; # Separates directories in the command path. If used
# without other parameters, ; clears the existing command
# paths from the PATH environment variable and directs
# Cmd.exe to search only in the current directory.
%PATH% # Appends the command path to the existing set of
# directories listed in the PATH environment variable.
# If you include this parameter, Cmd.exe replaces it with
# the command path values found in the PATH environment
# variable, eliminating the need to manually enter these
# values at the command prompt.