| 1. |
Solve : Input hiding (different from password hiding)? |
|
Answer» In batch, a user will be entering a password to allow them access, but I want it so someone looking over their shoulder can't see the password (sortof like...not sort of like, exactly like password masking in VB)... HereThanks macdad, but I'm afraid that won't work (or I don't know how it could work). What I happens is the user enter's their username, then their password. If the username and password don't match a line in a file, then the user tries again, or gives up...Is there a way that it can MASK the input (like in visual basic), instead of doing it letter by letter?I believe it may be possible in VBScript.Quote from: macdad- on April 18, 2009, 03:22:40 PM I believe it may be possible in VBScript.I know absolutely nothing (usefull) in VBScript...can you show me how to/make it?I'm not knowledgeable in VBScript either. I think Ghostdog is good with it though. Quote from: macdad- on April 18, 2009, 04:37:11 PM I'm not knowledgeable in VBScript either.So, should I post this in "Computer Programming"?Your decision.Quote from: macdad- on April 18, 2009, 04:57:49 PM Your decision.Just did. Thanks for your help macdad-!Quote from: macdad- on April 18, 2009, 04:37:11 PM I'm not knowledgeable in VBScript either.ghostdog will only suggest you: - installs gawk, see my sig - if you are able to download stuffs, you can use sed (check my sig for link). - if you want to do programming/batching on windows, get a real programming language. - Switch to *nix then. -there are abundance of tools out there you can use. the unix Find command , which is ported to windows makes this kind of task seem trivial. - and many moreThat looks very hard to do. What is the ovjective? You want the user to type in a passwrod at a prompt from inside a batrch? The input must not have echo or just *** maybe? The batch file can retrieve the password from some place the average user would not guess. Right?Quote from: Reno on April 18, 2009, 10:51:39 PM ghostdog will only suggest you:for your info, i do GIVE solutions in vbscript sometimes. see here. Quote - Switch to *nix then.don't put words in my mouth. as for your other comment, i can only say, I advocate using right tools for the job ->> productivity. @helpmeh, see your other post and also here Quote from: Reno on April 18, 2009, 10:51:39 PM ghostdog will only suggest you: He surpassed himself in the other thread about this topic started by Helpmeh, by posting a link to Experts Exchange (plus the inevitable Perl script) gawk, or dawk? Quote from: Dias de verano on April 19, 2009, 02:57:37 AM He surpassed himself in the other thread about this topic started by Helpmeh, by posting a link to Experts Exchange (plus the inevitable Perl script)so do you have a problem with that? or are you purposely being irritating? take a hike. (or take your medicine if you haven't) |
|