Unfortunately, the lack of clarity
I have a code required a user name and password
At the time of writing the password box I want to hide or show when writing in the form of Stars
look this code batch
Quote
@echo off
start /wait %comspec% /v:on /c "mode 40,10 & title Login Window & color 1e & echo. & set /p name=Enter Name: & set /p pswd=Enter password: & cls & echo name=!name!>login.txt & echo pswd=!pswd!>>login.txt & exit"
for /f "tokens=1* delims==" %%i in (login.txt) do (
if %%i==name set name=%%j
if %%i==pswd set pswd=%%j
)
echo Name is %name%
echo Password is %pswd%
save this on cmd and tes if run will show box say enter user and pass
now I wanna know how can hide this pass if I type on cmd or Encrypted like star
This post has been edited by killr: 17 December 2008 - 02:28 PM