I currently have a batch file (below) that runs fine, but when it prompts for the password it displays the text on the screen. Is there a script I can run that will hide/mask the password as its being typed? I am running this batch file in WinPE if that matters.
@ECHO OFF
::VARIABLES
SET title=IMAGEX IMAGE MENU
SET script_dir=%0\..
cls
diskpart.exe /s f:\diskpart.txt
set /P user=Enter your username:
set /P pass=Enter your password:
net use o: \\network_path /USER:domain\%user% %pass%
pause
e:\imagex.exe /apply o:\Windows7.wim 1 C:
C:\windows\system32\bcdboot C:\windows
pause
exit
@ECHO OFF
::VARIABLES
SET title=IMAGEX IMAGE MENU
SET script_dir=%0\..
cls
diskpart.exe /s f:\diskpart.txt
set /P user=Enter your username:
set /P pass=Enter your password:
net use o: \\network_path /USER:domain\%user% %pass%
pause
e:\imagex.exe /apply o:\Windows7.wim 1 C:
C:\windows\system32\bcdboot C:\windows
pause
exit