|
Answer» Win XP (H) Cmd.exe Batch script.
In a For loop is it possible to change the content of %%A by removing the FIRST CHARACTER only without using the Set command.
e.g. Code: [Select]Set var=%%A ren %%A !var:~1! will correctly rename the FILENAME in %%A but is there a command which will remove the first char of %%A so that the code COULD be:
Code: [Select]ren %%A !%%A:~1!or something like that??? what do you want to do actually?At present, nothing. Just querying if its possible to change the content of an %%A type variable in the same, or similar, MANNER to that of an %A% type variable.
|