Thread: Rename file(s)
View Single Post
  #2  
Old 10-14-2003, 09:55 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,049
To rename an individual file, use a Run Program step with a command of

%DOSCMD% ren "drive+path+oldfilename" "newfilename"

For multiple files, it depends on the type of name change being done. You might be able to combine the Process Files action and Run Program 'ren' step if the change is consistent among all files, or you may need an explicit rename step for each file. See the Recurse.bld sample for some examples of the Process Files action.
Reply With Quote