Password in '*' format in Dos

June 11, 2009 at 02:20:13
Specs: Windows 2000, 4 GB
I wana to change password look format to '*' in Dos. As when i insert password in Dos prompt it looks like (Password12), i want it to look like (**********) format in Dos.

See More: Password in * format in Dos

Report •

June 11, 2009 at 02:58:05
If you mean put * on screen instead of the chars typed, I think you're out of luck with Dos [sic].

If at first you don't succeed, you're about average.


Report •

June 11, 2009 at 04:15:12
if you have Python on windows, you can use the getpass module. although it don't print *, its more than enough to not show any text on screen.
import getpass
password = getpass.getpass("Enter password:")
print password

if you are interested, here's theexecutable
To use it,

for /F %%a in ('getpass.exe') do (
 echo %%a

Report •

Related Solutions

Ask Question