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.
Batch File Variables
Name: Smith Date: November 13, 2003 at 14:53:45 Pacific OS: XP Pro CPU/Ram: AMD 1.4, 256MB
Comment:
I am trying to figure out how to program variables in batch files.
Any help on the following script would be helpful.
Thanks!!
:test net send * Hello set %A%=0 set %B%=%A%+1 If %B%= 50 GOTO 2 Else Goto test :2 pause
I am trying to send the message "hello" 50 times and then have the file pause.
Summary: I am confused on how to create and use batch file variables. I would like to have the user input information (if possible) and assign that information to a variable. If this is not possible I would st...
Summary: I've got a batch file in which I'm having to manipulate a few variables concerning dates. As the program executes, it parses the date into individiual variables such as month number (i.e. 09 for S...
Summary: Hi. I hve written a batch file which connects to a series of computers, checks for the existence of a file then published the result, however I have a different section in the batch file for for each ...