|
Masked Password
This example shows accepting masked password from command line.
02 | Set pwdSvcObj = CreateObject( "ScriptPW.Password" ) |
03 | WScript.StdOut.Write "Please enter your password:" |
06 | strPassword = pwdSvcObj.GetPassword() |
10 | Wscript.Echo "Your password is: " & strPassword |
|
It gives the following output,
Please enter your password:
Your password is: bethecoder
|
|