In my batch file, I have the line
rmdir c:\backups /s /q
but when I run it, I get a message saying that it can't be performed because the directory is in use by another process. I'm not too sure why it's saying this, but is there a way to kill the other process in my batch file so that the command will always work?
Thanks
Cannot be performed because dir is in use by another process
Moderator: DosItHelp
-
- Posts: 1
- Joined: 24 Nov 2009 20:28
- Location: Pittsburgh, PA
-
- Expert
- Posts: 391
- Joined: 19 Mar 2009 08:47
- Location: Iowa
-
- Expert
- Posts: 391
- Joined: 19 Mar 2009 08:47
- Location: Iowa