Using Which to Search the PATH

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

Using Which to Search the PATH

Post by jussij » Mon Apr 25, 2016 2:44 am

The PATH environment variable is a central concept to Windows and making sure the PATH is correct can be tricky.

Zeus comes with the which utility that will help with this setup.

For example, to check if the g++.exe executable is located in the PATH you would do the following:

1) Use the Zeus Tool DOS Shell menu to create a command prompt.

2) In the resulting command prompt type in the command shown below:

Code: Select all

C:\>which g++.exe
If the executable was not in the PATH the result would have been:

Code: Select all

C:\>which g++.exe
Unable to locate file: g++.exe
The utility can also be used to search for dll files:

Code: Select all

C:\>which xtags.dll
C:\Program Files (x86)\Zeus\xtags.dll
Related Topic: Windows System PATH Environment Variable

Post Reply
kuchnie warszawa opinie

Who is online

Users browsing this forum: No registered users and 2 guests