| Author |
Message |
   
Duncan Clarke
Username: dac_retrodata
Registered: N/A
| | Posted on Tuesday, Jul 21, 2009 - 9:29: | |
We have a couple of folders, each containing millions of images, and every single image is numbered in a sequence. The offset to the sequence number is 0x14 bytes and is 4 bytes long in Little Endian format. Is it possible to use X-Ways to read the hexadecimal number at the offset, convert it to a decimal number and rename the file to the decimal number? That is, so the file name becomes the same name as the decimal value of the hexadecimal sequence number. Thanks Duncan |
   
Stefan Fleischmann
Username: admin
Registered: 1-2001
| | Posted on Tuesday, Jul 21, 2009 - 12:34: | |
No, there is no "RenameFile" script command. |
   
Pánczél, Levente
Username: panczel_levente
Registered: N/A
| | Posted on Tuesday, Jul 21, 2009 - 13:17: | |
Stefan: 1) "MoveFile" does the trick for me, is it not intended to? 2) If one could catch the name of the currently active object (I would have found it very handy before) then he also had the option to build a .bat file that would be able to rename (or zip, etc.) the files. ... Just a thought to make you file the whish ;) |
   
Stefan Fleischmann
Username: admin
Registered: 1-2001
| | Posted on Wednesday, Jul 22, 2009 - 10:45: | |
1) You are right! |
|