DOS Batch - Accepting User input to system Variable
|
Original Message
|
Name: Chris Kowalske
Date: March 10, 1999 at 11:09:40 Pacific
Subject: DOS Batch - Accepting User input to system Variable
|
Comment: Anyone know of a way to accept user input into a system variable?? We'd like to prompt the user for a Computer Name to use Ghost Walker to create a new SID before a NT load. Just can't figure out a way to accept input using DOS Batch coding.
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: World Library
Date: March 10, 1999 at 16:17:16 Pacific
Subject: DOS Batch - Accepting User input to system Variable
|
Reply: (edit)Hi, If you can define the varible yes. A user would type in "gost their name <-enter) It would then go to a label. The label being their name or destination you have assigned. There is also a way to create a prompt for a password. But again the password needs to be set by you. Don't know if any of this is of help. Most likly not.......I am having one of those days. LOL LOl Robin at World Library
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: Outsider
Date: March 14, 1999 at 23:24:03 Pacific
Subject: DOS Batch - Accepting User input to system Variable |
Reply: (edit)How about this. @ECHO OFF ECHO Type input (no spaces) and press [Enter]. ::Following command is on one line FC.EXE CON NUL /LB1 /N |DATE |FIND.EXE "1:">setinput.bat ECHO SET INPUT=%%5> ENTER.BAT CALL SETINPUT.BAT IF "%INPUT%"=="" GOTO END ECHO Input was %INPUT% :END FOR %%F IN (setinput.bat enter.bat) DO IF EXIST %%F DEL %%F For batch solutions see newsgroup alt.msdos.batch Regards, Outsider
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: Outsider
Date: August 21, 1999 at 11:29:09 Pacific
Subject: DOS Batch - Accepting User input to system Variable |
Reply: (edit)I didn't see you used NT. Go to the alt.msdos.batch newsgroup and look for these subjects: Obtaining user input in Windows NT: method #1 Obtaining user input in Windows NT: method #2
Report Offensive Follow Up For Removal
|
|
Response Number 4
|
Name: Woodie
Date: June 29, 2000 at 00:43:21 Pacific
Subject: DOS Batch - Accepting User input to system Variable
|
Reply: (edit)Obtaining user input in Windows NT: method #1 Obtaining user input in Windows NT: method #2 Do you have info on doing this? I am trying to do it at work. Cheers.
Report Offensive Follow Up For Removal
|
|
Response Number 5
|
Name: Laurence
Date: July 29, 2000 at 00:39:49 Pacific
Subject: DOS Batch - Accepting User input to system Variable
|
Reply: (edit)See here: http://bigfoot.com/~batfiles/main/ntbatch.htm And also, news:alt.msdos.batch.nt Usenet newsgroup on batch file programming for Windows NT. If your ISP does not yet carry it, go to http://www.deja.com/usenet/ or http://deja.com/home_ps.shtml and enter alt.msdos.batch.nt as the search key. Contact your ISP and ask them to carry alt.msdos.batch.nt .
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: