Computing.Net > Forums > Programming > Batch program that copy file names

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch program that copy file names

Reply to Message Icon

Name: Pumazz
Date: December 6, 2008 at 11:57:53 Pacific
OS: Vista
CPU/Ram: ?
Product: ? / ?
Comment:

I need a bach program that can rename files to include names from other files. For example: I have a folder with 22 episodes of a tvserie, and a folder with subtitles. I want the program to takes the name from the episode and change the name to the name of the subtitels files. anyone who can help me? Sorry my bad English!



Sponsored Link
Ads by Google

Response Number 1
Name: dave19
Date: December 6, 2008 at 14:42:15 Pacific
Reply:

how would it know which subtitle belong to which particular episode if you have a bunch of subtitle files to choose the name from?


0

Response Number 2
Name: Pumazz
Date: December 6, 2008 at 16:01:06 Pacific
Reply:

just file nummber 1 is number 1 ect.


0

Response Number 3
Name: dave19
Date: December 7, 2008 at 03:35:41 Pacific
Reply:

cd /d D:\Subtitle
for /f token=1 delmis=. " %%a In ('dir /b') do ren D:\Movies\abc.avi %%a.avi
its gets the name of subtitle file hopefully not the format and copies it to episode file abc.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Batch program that copy file names

Copy Files to Folder with Same Name www.computing.net/answers/programming/copy-files-to-folder-with-same-name/15568.html

Windows Batch + C++ to copy files? www.computing.net/answers/programming/windows-batch-c-to-copy-files/6254.html

batch file name checking www.computing.net/answers/programming/batch-file-name-checking/9471.html