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!

Password in a .bat file??!!

Status
Not open for further replies.

kilabru

Programmer
Oct 15, 2002
26
0
0
US
I am using a buttom in a program that I want to ask for a password through a .bat file. This is the only way I am able to add security to the button. What it does?
It is a link that opens and runs several scripts(SQL)that I only want a few people to have this ability. Is this possible? Can you provide an example?

Thanks,

John
 
I GOT IT!!

@ECHO OFF
SET MyInput=
IF '%1'=='A' GOTO Ready
SET /P MyInput=Enter filename:
%0 %MyInput%
:Ready

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top