Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
SET from a file?
Name: Blasterman Date: November 19, 2007 at 19:25:19 Pacific OS: MS-DOS 6.22 CPU/Ram: Pentium, 32 MB RAM Product: Bochs 2.3.5
Comment:
I'd like to make a batch file that, at runtime, increments a counter set as an environment variable, and saves it in a file.
How can I do this? I'm using DOS 6.22.
All the OSes I use: Windows XP, Windows 98, MS-DOS 6.22, OpenBSD 2.6, DLX Linux. I have 4 computers, one of which is emulated.
Summary: Hi. What I'm trying to do is to append the number of lines from a file to a variable. The file's lines would have only one character (and always the same character: "]"). Just that. ie: ::txt.txt ] ]...
Summary: Ok, my first request was probably not clear. Sorry for that. What I want, is to have the batch file arguments taken from a file: you usually do : batch.dat %1 %2 %3 I want %1 %2 %3 to be taken from a ...
Summary: I want to get hostnames from a file and make a batch file to ping each hostname in that file.what are the commands that enable me to fulfill that. ...