有没有办法可以将CMD改成彩色FF?我在输入.bat文件时试图隐藏密码。
当前批处理文件:
@echo off
cls
color 7F
set /P pcname=Enter PC Name: \\
set /P auser=Enter Admin Username: DOMAIN\
echo Please Press Enter, then type your password. (Your Password will be Blank)
pause
color FF
set /P apass=Enter Admin Password:
cls
color 07
\\fs\scripts\remote \\%pcname% -u DOMAIN\%auser% -p %apass% "\\fs2\installs$\Office\2. Proxy On.cmd"
\\fs\scripts\remote \\%pcname% -u DOMAIN\%auser% -p %apass% ipconfig /flushdns
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
SET Choice=
SET /P Choice=IPFire is Now Configured with %pcname% and DNS has been Flushed