I have numerous files with the following structure
REMIT_1902803315_NON_0_20120316_Z120762523_1953760980.835
What I would like to do is rename the files to use the 2nd and 6th token by underscore so the batch file would rename the file to
1902803315_Z120762523.835
I have seen some code to get rid of the first token but I haven't figured out how to get the 2nd and 6th token.
Thanks
Casti
Renamig File with Underscores
Moderator: DosItHelp
Re: Renamig File with Underscores
No need..I searched the board and found a cool batch file of token form ..I think agerman or ifoxfire..The memory is not good here but thanks
Re: Renamig File with Underscores
Just a little tweaking of the script in this thread should do the trick for you.
viewtopic.php?f=3&t=3087
viewtopic.php?f=3&t=3087