Search found 4 matches
- 08 Sep 2010 20:58
- Forum: DOS Batch Forum
- Topic: Set multiple lines from file.txt to variables and Echo them
- Replies: 2
- Views: 3918
Re: Set multiple lines from file.txt to variables and Echo t
I do see what you mean with that one, but unfortunately, this is one small part of my program, that is all in batch. I just can't figure out for the life of me how to code it!
- 08 Sep 2010 20:30
- Forum: DOS Batch Forum
- Topic: Set multiple lines from file.txt to variables and Echo them
- Replies: 2
- Views: 3918
Set multiple lines from file.txt to variables and Echo them
Hey, I am working on a project for the guys at xda-developers. I need help with one part of it, I've been at this part all day and have come up with nothing. I have a txt file with a variable amount of lines in a certain directory that I want to read each line (each line has no spaces, just a list o...
- 26 Mar 2010 15:19
- Forum: DOS Batch Forum
- Topic: trouble with setlocal
- Replies: 2
- Views: 4077
Re: trouble with setlocal
wow, I can't believe I missed that. Thank you so much for helping me
- 26 Mar 2010 14:40
- Forum: DOS Batch Forum
- Topic: trouble with setlocal
- Replies: 2
- Views: 4077
trouble with setlocal
setlocal enabledelayedexpansion FOR /F "usebackq delims=" %%G IN ("p1ds1.txt") DO ( Set "line=%%G" & echo !line:A =! )>>"p1ds2.txt" FOR /F "usebackq delims=" %%G IN ("p1ds2.txt") DO ( Set "line=%%G" & echo !line:%zip%.zip...