Search found 2 matches

by ITask
04 Feb 2013 08:38
Forum: DOS Batch Forum
Topic: My "for" doesn't work
Replies: 3
Views: 2938

Re: My "for" doesn't work

It's solved!
Thank you for help!
by ITask
03 Feb 2013 08:41
Forum: DOS Batch Forum
Topic: My "for" doesn't work
Replies: 3
Views: 2938

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...