Tech Support > Operating Systems > Windows NT > Find the existing of a file by command-line command
Find the existing of a file by command-line command
Posted by cschang on February 8th, 2004


I wonder what kind of command line function can be used to verify the
existing of a file, so that I can use the errorlevel checking for other
task. I want to write a batch file to run some task. In order to do
that, I need to verify the existing of a file. I have looked around in
help and found nothing. Therefore I wrote myself a vbscript file to do
the same job. Not difficult. But I would like to learn is there any
other alternatives? Thanks.

C Chang

Posted by Colin Nash [MVP] on February 8th, 2004


Have a look here:

http://www.robvanderwoude.com/ntif.html



--
Colin Nash
Microsoft MVP
Windows Printing/Imaging/Hardware

"cschang" <cschang@maxinter.net> wrote in message
news:4025BAB6.8060903@maxinter.net...



Similar Posts