#1
|
|||
|
|||
Rename file(s)
What is the easiest way to use visual build's built in facilities to rename one or more files? I assume it somehow involves the process files action.
|
#2
|
|||
|
|||
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. |
|
|