Saved Bookmarks
| 1. |
Solve : How to judge whether the specified directory or file exists or not?? |
|
Answer» Hi All: IF EXIST FILENAME. echo found filename.Hello, if exist C:\Test\nul echo It is there will make an output "It is there" when the directory is present. if not exits C:\Test\nul echo Dir not found will make an output "Dir not found" when the directory ist not present. Instead of "nul" you can use filenames, too. Ciao. Brain |
|