Command exist?
Apr. 10th, 2003 10:04 pmHere's my question. I doubt this command exists, but man would it be sweet...
I have some movie files. The file names are the names of the movies. I would like them to be in folders that have the same name as the file (without the extension). I've been creating new folders, renaming them, and then moving the files into the appropriate folders. This has become tiresome.
Is there a command or a program I can use instead to automate all this? Basically something to create folders of the same name, and move the files into those folders. Sounds like a nifty little batch file if somebody can script it. Hmmm.... maybe i'll start on that myself....
And thanks to everybody who helped w/ the auto-play question i had earlier!
_MaH
I have some movie files. The file names are the names of the movies. I would like them to be in folders that have the same name as the file (without the extension). I've been creating new folders, renaming them, and then moving the files into the appropriate folders. This has become tiresome.
Is there a command or a program I can use instead to automate all this? Basically something to create folders of the same name, and move the files into those folders. Sounds like a nifty little batch file if somebody can script it. Hmmm.... maybe i'll start on that myself....
And thanks to everybody who helped w/ the auto-play question i had earlier!
_MaH
no subject
Date: 2003-04-10 08:18 pm (UTC)Re:
Date: 2003-04-10 08:29 pm (UTC)_MaH
no subject
Date: 2003-04-10 08:33 pm (UTC)file1
file2
file1partonewhooo1.mpg
file1parttwowheeee.mpg
file2partonewhoa.mpg
file2partthreeheyhey.mpg
get the file1 part
then do a XCOPY FILE1* FILE1 /I
and so on and so on for the other files....
i could do it in C++ but in batch it would be more time consuming...
( NOTE:
/I If destination does not exist and copying more than one file,
assumes that destination must be a directory.
)
no subject
Date: 2003-04-10 09:11 pm (UTC)w/ C++ it would be fairly simple.
no subject
Date: 2003-04-11 06:37 am (UTC)check out http://www.activestate.com Perl is a free download.
The write yourself a short Perl script.