Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.bat file 2000 to NT problem

Status
Not open for further replies.

kilabru

Programmer
Oct 15, 2002
26
0
0
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top