Command Line

Command ASK

Function:

Ask a yes/no question and set the errorlevel respectively.
Syntax:
ASK [message]
messageSequence of characters.
Note:
  • Type ASK without any parameters to display the message :-
    Continue (Y/N)?
  • The errorlevel is set to 0 for a yes response, 1 for a no response.
  • Example on using ASK.
  • Also see command PAUSE and Batch Programs.

Copyright © 1995-2005 Lucien Cinc, All Rights Reserved
WinOne is an Australian registered trademark of Lucien Cinc