Thanks for the Oracle list members who responded very
promptly for my question. At the moment, I am very
satisfied with pause command.
I have one more question for the DOS Gurus.
Is there a way to change the fond size from the DOS
Script ?
Thanks,
Bob
--- James J. Morrow [EMAIL PROTECTED]
I'm not a windows guy but I think you should quit writing DOS batch files
and use VBScript instead.
I think if you look in any windows magazine you will see VBScript listings
instead of batch file listings.
VBScript is powerful like Perl and handles pop up windows well.
VBScript doesn't seem
All,
I have a DOS batch file. In between this script, I
would like to add user interactive question.
Ex: Do you want to Continue [Y/N]?
Once they hit Y, it will continue rest of the batch
file.
Could someone able to help me out as per the above
requirement?
Thanks,
Bob
You could use utility choice.exe (I think it comes with NT Resource Kit).
Here is an example of the batch file:
echo off
choice /c:YN Do you want to Continue ?
if errorlevel 2 goto end
rem do whatever you need here
...
Bob Robert wrote:
All,
I have a DOS batch file. In between this script, I
would like to add user interactive question.
Ex: Do you want to Continue [Y/N]?
Once they hit Y, it will continue rest of the batch
file.
Could someone able to help me out as per the above
requirement?
Bob,
Is it really a DOS batch file or is it 95 or NT4 or W2K / XP - or does it need to run
on all of them?
This is important as the options vary.
Anyway, below is a copy of a post I made in March 2002 describing some of the options:
HTH,
Bruce Reardon
In W2K it is easy, you can use set/p -