Can't rmdir folder?

Come up with a useful post-processing script? Share it here!
Post Reply
kaes.kniestedt
Newbie
Newbie
Posts: 2
Joined: September 25th, 2010, 2:07 am

Can't rmdir folder?

Post by kaes.kniestedt »

Hi guys -

I'm trying a modified version of the xenonmkv script. I want it to move my files to my NAS, then delete the download folder. It returns the error as if the folder is in ue. Here is an example


C:\Users\Kaes\Downloads\sabnzbd\complete\TV\Boston.Med.S01E03.720p.HDTV.x264-ORENJI>IF NOT EXIST *.mp4 rmdir /S /Q C:\Users\Kaes\Downloads\sabnzbd\complete\TV\Boston.Med.S01E03.720p.HDTV.x264-ORENJI
The process cannot access the file because it is being used by another process.

The script line itself says IF NOT EXIST *.mp4 rmdir /S /Q %1

Any ideas?

Thank you
kaes.kniestedt
Newbie
Newbie
Posts: 2
Joined: September 25th, 2010, 2:07 am

Re: Can't rmdir folder?

Post by kaes.kniestedt »

Scratch that, just had to get the script out of the folder before I could rmdir

Thanks anyways :)
Post Reply