Group: microsoft.public.scripting.vbscript
From: meridean
Date: Tuesday, October 23, 2007 4:43 AM
Subject: Re: Hiding a user password in VB Scripting

On Oct 19, 11:01 pm, "Pegasus \(MVP\)" wrote:
> Here is the GUI solution:
>
> http://www.microsoft.com/technet/scriptcenter/resources/qanda/feb05/h...
>
> "papou" wrote in message
>
> news:eiF%23zRiEIHA.3636@TK2MSFTNGP03.phx.gbl...
>
>
>
> > Hi
> > This is interesting, could please give further detail?
>
> > Cordially
> > Pascal
> > "S Moran" a =E9crit dans le message de news:
> > Ol2KnNhzHHA.5...@TK2MSFTNGP02.phx.gbl...
> >> if you use cscript there is a password object that masks input at the
> >> commandline... no need for cheesy IE windows
>
> >> "Pegasus (MVP)" wrote in message
> >>news:u1Ge$1fzHHA.5092@TK2MSFTNGP04.phx.gbl...
> >>> This may be an FAQ but if it is then I have not been able
> >>> to find an answer. The question is: Is it possible to create
> >>> something similar to the InputBox function that hides the
> >>> user's password as he enters it? If so, how?- Hide quoted text -
>
> - Show quoted text -

I use HTA code to run my script and enter the password masked, I then
save it in a temp field and set the password variable from the temp
field. Here is the input code which goes within the body of the HTML
code. Then you can manipulate the sTempLNPwd field.

size=3D"30">


name=3D"run_button" onClick=3D"Password">