I am using a .bat file to be used for security with my application. In doing so, my testing was completed in the Windows 2000 environment. Everything worked great.
Now I am trying it in NT, will not prompt for input.
Can anyone help me? This is my last process step.
Here is my 2000 version:
-----------
@ECHO OFF
ECHO 'Q' or 'q' for Quit
ECHO.
SET MyInput=
IF '%1'=='JOHN' GOTO OPEN
IF '%1'=='holly_jo' GOTO OPEN
IF '%1'=='Q' GOTO END
IF '%1'=='q' GOTO END
SET /P MyInput=Enter password:
%0 %MyInput%
:OPEN
M:\Max411\SQLcmds\PLUS80W.exe maximo/pepper@maxdev @M:\MAXDEV\rfqfix\export_quote.ctl
:END
------
John
kilabru@yahoo.com
Now I am trying it in NT, will not prompt for input.
Can anyone help me? This is my last process step.
Here is my 2000 version:
-----------
@ECHO OFF
ECHO 'Q' or 'q' for Quit
ECHO.
SET MyInput=
IF '%1'=='JOHN' GOTO OPEN
IF '%1'=='holly_jo' GOTO OPEN
IF '%1'=='Q' GOTO END
IF '%1'=='q' GOTO END
SET /P MyInput=Enter password:
%0 %MyInput%
:OPEN
M:\Max411\SQLcmds\PLUS80W.exe maximo/pepper@maxdev @M:\MAXDEV\rfqfix\export_quote.ctl
:END
------
John
kilabru@yahoo.com