I am using this in my program
for %%I in (*.txt) do (
The filename is in %%I
.
Now i want to separate the first 2 chracters, next 3 characters, separately.
Is this possible in DOS or Cmd.exe?
Answer
http://www.dostips.com/DtTipsStringManipulation.php
set first2=%%I:~0,2% && set next3=%%I:~3,3%
I think.. geez, its been a while!
No comments:
Post a Comment