1.

Solve : RD batch file?

Answer»

I am using the following line in a batch FILE, but it always ask if its a file or a directory. How do I get around this? I need it to run unattended nightly.

RMDIR /S /Q "J:\backup"That command should would fine with no errors, TESTED in Vista and XP with no issues. What may be happening is that there is a file and directory with the same name and maybe that's CONFUSING it. Maybe try adding a backslash to the end, e.g.

rmdir /s /q j:\backup\That did it. THANKS for the help.Glad to HEAR and you're welcome.



Discussion

No Comment Found