PATH Environment Variable

The system finds the executable files necessary to execute the commands you type by searching the directories listed in the PATH environment variable. The list of directories contained within the PATH environment variable are separated by semi-colons. If a directory path contains spaces, it must be enclosed within quotation marks.

To add the LogParser path to the path environment variable

  • Type the following at a command prompt:

    set Path = %Path%;"LocalDrive:\Program Files\Log Parser\"

To echo the path

  • Type the following at a command prompt:

    echo %Path%