|
Answer» Dear all, I have an URGENT thing needing help in DOS6.22.
I have a file f1.txt, which only has one line as id : 15
I want to import it to a string, and I want to parse it and SET a variable as the number (15). I donot know how to do it. I was trying to using "FOR" command, but in DOS6.22, I cannot read a file in "FOR".
Do you guys have any other GOOD ideas to import a file to a string variable ?
Thanks.Quote Dear all, I have an urgent thing needing help in DOS6.22.
I have a file f1.txt, which only has one line as id : 15
I want to import it to a string, and I want to parse it and set a variable as the number (15). I donot know how to do it. I was trying to using "FOR" command, but in DOS6.22, I cannot read a file in "FOR".
Do you guys have any other good ideas to import a file to a string variable ?
Thanks.
Check out Strings and Aset .
http://www.szostek.com/it/downloads.html
|