Saved Bookmarks
| 1. |
Solve : Problem on If exist...? |
|
Answer» This is my code: @echo offI want to CHECK if the folder is there... but i don't know the code ...Quote if exist /BGMBackup/ goto :continue else goto :backup The line above should be expressed like this. if exist "\BGMBackup\" (goto :continue) else (goto :backup) Your code creates folders in the current directory but then copies file EXPLICITLY to ROOT folders. That's a recipe for failure. Change the MD commands so they create root folders too. |
|