i want to use total video converter to encode >1k mp3 files to ac3... the problem is that they reside in their own sub directories, and total video converter doesn't seem to import files that way (if there are 2 or more levels of directories converter quits)... i decided that i need to make it so that all files reside in one directory, no subdirs... to do that i tried
but that doesn't work... what works however is the following:Code:copy olddir\*\*.mp3 newdir
which makes me think that '*' only works on filenames, not directories... i have many way many subdirs as well, so handtyping them in is not an option, i need to automate process... please help with this windoze crapCode:copy olddir\subdir\*.mp3 newdir
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 7 of 7
Thread
-
-
-
Run either of these from within your target directory (assumes all the source directories are below the target):
Code:for /r . %1 in (*.*) do copy %1 %~n1
Code:for /r . %1 in (*.*) do move %1 %~n1
John Miller -
Baldrick: guy claims it worked, but maybe he just didn't check the directory wildcards and used wildcards only in for filename... in reality directory asterisks don't work neither for copy nor xcopy
JohnnyMalaria: haha, your code works, but because my subfolders' names are bigger than 6 characters or/and include spaces it returns "The system cannot find the file specified." so it traverses the directory tree alright, but can't copy because copy and xcopy require input of let's say 'supermega folder' as 'superm~1' and so on... stupid gill bates or something
i'll just use frenzy livecd to do what i need... gill bates, what can i say -
Hmmm. Try this (it works for me on long paths + spaces):
Code:for /r . %1 in (*.*) do copy /Y "%1" "%~n1%~X1"
Code:for /r . %1 in (*.*) do move /Y "%1" "%~n1%~X1"
Clear as mud -
haha, computing is stupid, i copied files using the frenzy livecd and ntfs-3g and some files copied badly... so it didn't work... anyway it's better than windoze: windoze in such cases would corrupt file system, hdd and so on...
JohnnyMalaria, the following worked fo me:Code:for /r sourcedir %1 in (*.mp3) do copy "%1" destdir
ahahah stupid total video converter failed to queue up >1k mp3 files at once, so i have to load it up chunk by chunk (i used about 400 as a chunk)... what r u gonna do - there are no other suitable programs rto do mp3->ac3 conversion except besweet, but it's outdated now and has compatibility issues with pioneer players -
and then eventually total video converter is not suitable for me because in order to convert to some bitrate, you need to alter a quality profile in total video converter and assign this profile to each audio track... i got more than 1k tracks... so much work for a DEAD END
Similar Threads
-
[C++] How to read progress from CMD prompts like FFMPEG's
By squadjot in forum ProgrammingReplies: 5Last Post: 12th Feb 2021, 07:49 -
cmd line tool to join two mpeg-2 files
By nighthawk2018 in forum Newbie / General discussionsReplies: 1Last Post: 1st Mar 2010, 23:13 -
how to run as admin in CMD in Windows XP?
By jyeh74 in forum Newbie / General discussionsReplies: 7Last Post: 29th Jan 2010, 19:26 -
Video info tool (cmd-line-way) wich one?
By squadjot in forum Video ConversionReplies: 2Last Post: 19th Sep 2008, 15:01 -
Problems with CMD-850 PAL to NTSC conversion
By vwy33 in forum Video ConversionReplies: 18Last Post: 31st Jul 2008, 08:55