Cannot be performed because dir is in use by another process
Posted: 25 Nov 2009 08:46
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
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