I know nothing about DOS commands, so I may be using the wrong code sequence.
I tried to do something simple like number a selected group of files, this is the code I used in the template.
$01 then I hit create. I then hit execute. The DOS window read "Bad command or file name".
Can you tell me what I am doing wrong?
Thanks,
Darren
Generate batch conversion - Unable to get it to work.
Moderators: fgagnon, nikos, Site Mods
on this topic, here's a nice list of dos commands you can use in batch files, published today @ shell extension city
once you digest this, then you're ready for the full winNT+ command arsenal which is 2-3 times as big :)
once you digest this, then you're ready for the full winNT+ command arsenal which is 2-3 times as big :)
for rename you need first of all the ren command. If you type ren /? in a dos box you'll get quick instructions of use. Basically you need the source file and the name you want it renamed to.
within the batch creation framework in 2x, the source name is always going to be $N, substituted for each selected item. For the target it's you that decides. If you want a counter with 2 digits starting with 1 added to the name:
ren "$N" $01
but perhaps this is a bit daft since you lose all the extension etc info in the renamed file. But you can combine $01 with letters and other of the special $-tokens. For example $01.$E will give you a numbered file with the same extension as the original
within the batch creation framework in 2x, the source name is always going to be $N, substituted for each selected item. For the target it's you that decides. If you want a counter with 2 digits starting with 1 added to the name:
ren "$N" $01
but perhaps this is a bit daft since you lose all the extension etc info in the renamed file. But you can combine $01 with letters and other of the special $-tokens. For example $01.$E will give you a numbered file with the same extension as the original