RosettaCodeData/Task/Check-that-file-exists/Batch-File/check-that-file-exists.bat
Ingy döt Net 518da4a923 B
2013-04-10 16:19:29 -07:00

4 lines
268 B
Batchfile

if exist input.txt echo The following file called input.txt exists.
if exist \input.txt echo The following file called \input.txt exists.
if exist docs echo The following directory called docs exists.
if exist \docs\ echo The following directory called \docs\ exists.