Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Originally posted by sd287054 at 2007-4-18 14:45:
PPdos
@echo off
title 出现表示 输入超时请按回车继续:
:begin
PING 127.0 -t|set /p pwd=请输入密码:&cls>con
set /p pwd=
cls&echo 密码为:%pwd%
if "%pwd%&q ...
Originally posted by PPdos at 2007-1-21 09:24:
@echo off
title 出现表示 输入超时请按回车继续:
:begin
PING 127.0|set /p pwd=请输入密码:&cls>con
set /p pwd=
cls&echo 密码为:%pwd%
if "%pwd%"=="" cls&goto begin
pause>nul
After research, the above code can realize hidden input of the password without generating temporary files
But it will expose the unentered password after the delay time exceeds. I hope experts can improve it!
| Rater | Score | Time |
|---|---|---|
| — | +1 | 2007-06-20 18:53 |