how to rename files in subfolders
|
Original Message
|
Name: tomy
Date: September 30, 2004 at 10:24:30 Pacific
Subject: how to rename files in subfoldersOS: DOSCPU/Ram: P4 |
Comment: Hi every one :) I want to know how to rename files in subfolders using DOS command? E.X I have foder called My music under it I have 80 folders (artist name) , each folder have *.ram files . I want to rename all of *.ram files to *.rm. Tomy
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Rick McNabb
Date: September 30, 2004 at 12:49:31 Pacific
|
Reply: (edit)You can use rename *.ram *.rm - you will have to be in the folder or specify it. I do not think the native DOS commands will rename in multiple sub-folders otherwise.
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: Mechanix2Go
Date: October 1, 2004 at 00:24:13 Pacific
|
Reply: (edit)Hi, Rick is correct. OBW 1. There are no folders in DOS. There are files, directories and not much else. 2. If you have directories created by w9x/NT they will be truncated by DOS. So your "my music" will probably show as "mymusc~1" or similar.
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: tomy
Date: October 1, 2004 at 03:32:18 Pacific
|
Reply: (edit)that is mean I should go inside all folders and issue this command ren *.ram *.rm I will do it 80 times :( Thanks Tomy
Report Offensive Follow Up For Removal
|
|
Response Number 4
|
Name: jubalsams
Date: October 1, 2004 at 21:55:52 Pacific
|
Reply: (edit)There is a way: XCOPY Example; XCOPY C:\ABC\*.ram C:\FIN\*.rm /S (one line above) Then delete the old files. One might think that this would be slower than rename, not so. Best
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: