Correction:

Am 17.05.2011 um 15:46 schrieb Klaus on-rev:

> Hi Eva,
> 
>> Is there a way to alter file names in a directory (from a MC script, not 
>> manually)? :-) 
>> 
>> I have hundreds of images of which the name has to be changed slightly. 
>> For example:
>> anim1_Angle1.00_  9.png
>> must be changed to (space deleted):
>> anim1_Angle1.00_9.png
> 
> yes, use the "rename" command:
> Put the filename into a variable -> tFilenameOld
> put tFileNameOld into tFileNameNew
> Modify/fix it as needed:
> set itemdel to "/"
> replace " " with "" in item -1 of tFileNameNew

## Of course withouth the single QUOTE
> rename file tFileNameOld to tFileNameNew 

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com


_______________________________________________
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to