就像你已經知道的那樣,網站有一些特殊的密碼字符,比如星星和圈子。批處理文件:密碼星星/圈子
這可能在一個批處理文件,在下面的一個:?
如果這是不可能的,如果你輸入它,你能看到什麼?
set pass=
set /p pass=Enter your password:
if {%pass%}=={} goto :begin
set authenticated=
for /f "tokens=*" %%a in (pass.txt) do (
if {%%a}=={%pass%} set authenticated=true
)
if not defined authenticated (echo Invalid password & goto :begin)
但我需要在這上面得到這樣的:
for /f "delims=" %%i in ('cscript /nologo GetPwd.vbs')
怎麼樣!
可能重複[什麼是Windows的批處理等效HTML的輸入類型=「密碼「?](http://stackoverflow.com/questions/286871/what-would-be-the-windows-batch-equivalent-for-htmls-input-typepassword) – Helen 2010-09-09 18:03:46
可能重複的[我可以掩碼輸入文本在一個bat文件](htt P://stackoverflow.com/questions/664957/can-i-mask-an-input-text-in-a-bat-file) – SomethingDark 2016-04-29 02:16:30