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.
User to provide 3 input values but how for Batch File?
Name: Adeline Date: October 26, 2000 at 00:50:57 Pacific
Comment:
How do I get three input values from the user as variable into my batch program? I would like to ask for: Month as Var1 and is 2 bytes long Start Date as Var2 and is 8 bytes long End Date as Var3 and is 8 bytes long These are then used in another progrma to be triggered from within the same batch file. Can somebody show or explain how. Thanks. Can
I don't know about that , if you want know who am i , u can visit my homepage at http://www.geocities.com/mymizi after that , u also know who handsome man in computers world ....
Summary: Hi. 1. To set a variable, use: SET [VARIABLE]=[VALUE] ie: SET USER=JOHN 2. To use the variable's value: %[VARIABLE]% ie: if you do "ECHO Hi %USER%!" before setting the variable "user" to john, the res...
Summary: I have a C program (prog.exe). During the execution of this program, will ask the values from the keyboard to continue execution (like enter a value, press a key to continue, etc). Suppose this prog...
Summary: I am trying to send the %%a value of the FOR command as a parameter to my 2nd batch file. Here is my code... @ECHO OFF REM REM -- Create 2nd batch file ECHO @ECHO OFF > C:\batch2.bat E...