It's solved!
Thank you for help!
Search found 2 matches
- 04 Feb 2013 08:38
- Forum: DOS Batch Forum
- Topic: My "for" doesn't work
- Replies: 3
- Views: 2945
- 03 Feb 2013 08:41
- Forum: DOS Batch Forum
- Topic: My "for" doesn't work
- Replies: 3
- Views: 2945
My "for" doesn't work
Hallo, I have a problem:. The file A:\text1.txt contains a strings like ? A:\abcd.abc I have to copy a strings to another file A:\r\xcopy.txt in the form like this: XCOPY A:\abcd.abc A:\st\abcd.abc My solution FOR /F "tokens=2" %%i in (A:\text1.txt) do ( set oldstr=%%i set newstr=%oldstr:A...