[cvsnt] How to find rogue cvs.exe???
rsmandcam at _NO_SPAM_sbcglobal.net
Fri Jun 15 21:55:16 BST 2007
> Is there a way to ask Windows to spell out the *path* to an executable
> when it can find it if one gives the command on the command line? For
> example if I type cvs on the command line it finds somewhere a cvs.exe
> version 2.0.51d, how can one display *where* it has been found???
Put this in a batch file and run it. Whereis cvs.exe
It won't show you all of the cvs.exe on the system but it will show you the
one that's being found.
IF %WhereIsPath% == "" (
ECHO %1 not found
) ELSE (
This works on W2k and above.
More information about the cvsnt