Phurious Posted May 12, 2004 Share Posted May 12, 2004 Anyone out there know how to suppress a user's input for a variable in a batch file from displaying onscreen? Basically, I am writing a batch file that requires a user's password, and I do not want what they type to appear on screen. Even if I cannot supresss it, is there a way to mask it with "*******" instead?Thanks for your help! Link to comment Share on other sites More sharing options...
Mike-C Posted May 12, 2004 Share Posted May 12, 2004 I don't think this can be done in a batch file as they only have very basic DOS commands, and nothing like this is done in DOS that I know of anyway. Link to comment Share on other sites More sharing options...
WannaXP Posted May 13, 2004 Share Posted May 13, 2004 Phurious --Check out these two links:1). http://home.comcast.net/~stewartb/getkv.html2). http://home.mnet-online.de/horst.muc/Your looking for INPUT.COM in "Horst's PBats" link on the left part of the screen.Let us know how it turns out.Feroceles Link to comment Share on other sites More sharing options...
Phurious Posted May 17, 2004 Author Share Posted May 17, 2004 WannaXP, Thanks for the info! It looks like it will do just what I was looking for. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now