Add Comment
|
Related Links
|
TrackBack
Which (GPL)"Which.bat" is Windows batch program that output the full executable path if found. It does the same thing that the UNIX "which" command performs: "Which.bat" takes one or more arguments. For each of its arguments it prints to stdout the full path of the executables that would have been executed when this argument had been entered at the shell prompt. It does this by searching for an executable or script in the directories listed in the environment variable PATH." "Which.bat" takes advantage of the following batch files. They are also available on this web site. So to use "Which.bat", you'll have to download these other batch scripts, if you don't already have them. GetTempPathName.bat "Which.bat" is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site. If you make changes to this batch file, please feel free to upload it back here to share it with others. UsageWhich.bat "executable" ExamplesC:\>Which Notepad Chieh Cheng Updated this batch script to also look for the executable in the current directory. Also added the "MSI" extension to the list of possible executables. Chieh Cheng
Add Comment
|
Related Links
|
TrackBack
Did your message disappear? Read the Forums FAQ. TrackBackTrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites. Send Ping | TrackBack URL | Spam Control Title: Could not reserve enough space for 2097152KB object heap Add CommentSpam Control | * indicates required field Messages, files, and images copyright by respective owners. |
Products
|
Services
52 Users Online
|
Copyright © 1996 - 2024. All Rights Reserved. |