V8Power Tools

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

V8Power Tools

Jerome Shidel
Hello all,

Just wanted to let you know I added a new feature to the VFDUTIL.COM utility in V8PT yesterday.

Basically, it will search the system PATH directories for a given filespec and output all matching files. If it is not found, there is no output and it terminates with an errorlevel.

This is similar to some Linux commands. But, does have some different behavior. It excepts wild cards. You can chain multiple searches (stops after first no match found). It does not search the current working directory unless it is in the PATH variable.

Can be useful to find files and/or see if a file is in the PATH spec.

It is the /s switch. There is a quite version using /t that doesn't display the matching files.

Examples:

vfdutil /s command.com /s *.bat

vfdutil /t wcc.exe /t wlink.exe
if errorlevel 1 goto OWNotInPath

;^)



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user