Computing.Net > Forums > Programming > Batch Rename

Batch Rename

Reply to Message Icon

Original Message
Name: benjatado
Date: June 9, 2005 at 11:45:31 Pacific
Subject: Batch Rename
OS: winxp
CPU/Ram: P4 / 1Gb
Comment:

I am attempting to perform a batch rename on several files with the same extention in a drive.
I am looking to be able to rename the following

600895789473_01_Track01.wma
to
600895789473_01_01_128.wma

I want this to be a batch rename that can perform this for all files with a .wma extention in a specified drive.
I am new to this batch type programming...your help would be greatly appreciated!


Report Offensive Message For Removal


Response Number 1
Name: jds
Date: June 9, 2005 at 15:01:55 Pacific
Reply: (edit)

Hi Benjatato,
Try this:
for %J in (600895789473_01_*.wma) do copy %~NJ.wma %~NJ_test.wma

Also look at here for more info:
http://www.computing.net/programming/wwwboard/forum/11819.html


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Batch Rename 

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 6 Days.
Discuss in The Lounge