Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

script will not update the password

$
0
0

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 utility
IF 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%



Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>