- @echo off
- set 密码=123456
- set /p 密码=输入密码:
- echo;引用%密码%
- pause
复制代码
- @echo off
- for /f "delims=" %%a in ('mshta VBScript:Execute("CreateObject(""Scripting.Filesystemobject"").GetStandardStream(1).Write(InputBox(""输入密码"",""提示"",""123456""))"^)(close^)') do set "密码=%%a"
- echo;引用%密码%
- pause
复制代码
|