SET /P credentials q
Moderator: DosItHelp
SET /P credentials q
if you're using set /p to prompt for user credentials, is there a way to make whatever text that's entered in clear text.
-
- Expert
- Posts: 391
- Joined: 19 Mar 2009 08:47
- Location: Iowa
Sorry, I don't think clear text are the words I'm looking for, but I'm trying to use set /p to prompt for credentials to set as a variable. Is there a way to make whatever the user enters to not show up, or just doesn't show any characters.
example: set /p pw=password please:
when the user enters the password it's gonna show up on screen.
example: set /p pw=password please:
when the user enters the password it's gonna show up on screen.
sxekjb,
Here is a related post: http://www.dostips.com/forum/viewtopic.php?p=602
Here is a function you may want to try: http://www.dostips.com/DtCodeCmdLib.php#Function.pwd
Basically the best dos solution we found so far is to temporary change the foreground and background color to similar colors (same color doesn't work) for the time the password is being entered.
DosItHelp?
Here is a related post: http://www.dostips.com/forum/viewtopic.php?p=602
Here is a function you may want to try: http://www.dostips.com/DtCodeCmdLib.php#Function.pwd
Basically the best dos solution we found so far is to temporary change the foreground and background color to similar colors (same color doesn't work) for the time the password is being entered.
DosItHelp?