I am writing a script to deploy the automated bios upgrade the script runs fine until the point where it requires a password I have placed a statement in the script to add the password "REM if %script%== Biospassword goto main". The problem is that prompt for the password appears but it will not enter the password and continue with the installation. Help!
IF NOT EXIST C:\STAGING\T410 Bios update utility NUL MD C:\T410 Bios update utilityIF NOT EXIST C:\STAGING\T410 Bios update utility MD C:\staging\T410 Bios update utility
@ECHO OFF
@echo ****************** Start of T410 Bios update utility Installation ********************** >> C:\Staging\T410 Bios update utility\Install.log
@echo
@echo
cd /d%~dp0
WINUPTP.EXE -s
REM @echo off
REM:password
REM set /p script=~
REM if %script%== Biospassword goto main
REM goto fail
REM 6uuj20us.exe -s
@echo Error level code: %ERRORLEVEL% C:\Staging\T410 Bios update utility\Install.log
@echo . Done! >> C:\Staging\T410 Bios update utility\Install.log
exit %ERRORLEVEL%