Making the Password Hidden on Command Prompt

September 16, 2010 at 21:05:58
Specs: Windows XP
I have done research on this countless times and iv seen it possible for other people.
I want to be able make a certain line in command prompt hidden for things such as passwords. For example i want to make UBER42 invisible when someone types it in:
@echo off
:start
set /p "pass=Password:"
IF NOT %pass% == UBER42 GOTO FAIL
:Fail
echo Invalid Password press any key to retry...
pause >nul
goto start

Thanks in advance, - Shawn


See More: Making the Password Hidden on Command Prompt

Report •

#1
September 16, 2010 at 22:27:19
This query is better posted here for more help:

http://www.computing.net/forum/prog...


Report •
Related Solutions


Ask Question