I have been trying to search and program my own script and not getting anywhere, can anybody help.
I would like it to move AVI to parent folder or category folder then remove the folder that the AVI was in.
TIA
REQ: (Windows) move AVI remove folder
-
- Newbie
- Posts: 3
- Joined: February 18th, 2009, 1:00 pm
Re: REQ: (Windows) move AVI remove folder
This will simply move the files to it's parent directory, but it will not rename them.
-Markus
Code: Select all
cd /D "%1"
move *.avi ..
echo "move complete"
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
-
- Newbie
- Posts: 3
- Joined: February 18th, 2009, 1:00 pm
Re: REQ: (Windows) move AVI remove folder
I think I figured out what I wanted.
Code: Select all
@echo off
cd /D "%1"
ren *.avi %1.avi
move *.avi ..
cd ..
rd /S /Q %1