Hi. Does anybody know how Replaceable Character Variables can be expanded?
For example I can get the 5 left chars of %str% with: %str:~0,5%
But how can I do the same thing with %%a ?
Obviously %%a:~0,5 or %%:~0,5a ... etc., doesn't work...
Thanks a lot.
Search found 1 match
- 14 Apr 2008 19:59
- Forum: DOS Batch Forum
- Topic: [unsolved] how2 expand replaceable character variables ?
- Replies: 1
- Views: 6283