System PATH Environment Variable

Find Tips and tricks on how to better use the Zeus editor. Feel free to post your own tips but please do not post bug reports, feature requests or questions here.
Site Admin
Posts: 2421
Joined: Fri Aug 13, 2004 5:10 pm

System PATH Environment Variable

Postby jussij » Wed Nov 17, 2010 3:48 am

If you ever see the following DOS error message in the Zeus capture window:
The name specified is not recognized as an internal or external command, operable program or batch file.

It means the installation directory of the specified executable is not defined in the PATH environment variable.

To fix this either modify the command to fully qualify the location of the executable file by including the installation folder details. Alternatively, just add the installation folder to the PATH environment variable.

To modify the PATH environment variable use the Start Button, select the Settings, Control Panel menu, click on the System icon and in the resulting dialog select the Advance system setting option.

NOTE: Be careful when editing the PATH as it is used by Windows itself. In the dialog mentioned above, when possible, it is best to make the changes to the User version, leaving the System version alone.

Here is a link that gives more details on how modify the PATH environment variable:

Windows uses the PATH to look for executable and DLL files. An over simplified version of that search logic is Windows searches the current folder and if the file is not found it continues the search using the directories listed in the PATH, searching the directories in the list in a left to right order. This can sometimes cause issues.

Consider the case where the same executable (or dll) is found in multiple locations and those multiple locations are all in the PATH. The executable or dll in the left most location will be the one that is found and used, even though it might not be the correct one.

These types of issues can be resolved using a Dependency Walker.

To see the current PATH, start Zeus, select the Tools, DOS Command Line menu and in the arguments edit field type the following command:

Code: Select all

set PATH

Return to “Tutorials, Tips and Tricks”

Who is online

Users browsing this forum: No registered users and 0 guests