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 to
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]
D]
07/11/2002 02:33 PM
Please respond to ORACLE-L
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc:
Subject: Re: DOS Script for pop up question ?
You could use utility "choice.exe" (I think it comes with NT Resource
Kit).
He
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 - t
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
>
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
...
..
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
__