website wrote:Creating a batch file delay
Below is an example of how to delay a batch file any where from 5 to 99 seconds. In the below example we illustrate a 5 second delay.
TYPE NUL | CHOICE.COM /N /CY /TY,5 >NUL
Is that it?
website wrote:Creating a batch file delay
Below is an example of how to delay a batch file any where from 5 to 99 seconds. In the below example we illustrate a 5 second delay.
TYPE NUL | CHOICE.COM /N /CY /TY,5 >NUL
cls
@ECHO OFF
title SYSTEMRECOVERY.DPX
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Start System Recovery (Yes/No)
set/p "cho=>"
if %cho%==Yes goto LOCK
if %cho%==Yes goto LOCK
if %cho%==No goto END
if %cho%==No goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo A problem has been detected starting System Recovery.
echo Windows has shut down the operation to prevent damage to your computer.
echo The problem seems to be caused by the following file: SYSTEMRECOVERY.DPX
echo PAGE_FAULT_IN_NONPAGED_AREA
echo If this is your first time youve seen this stop error screen,
echo Restart your computer. If this screen appears again, follow
echo These steps:
echo Check to make sure any new hardware or software is properly installed
echo If this is a new installation, ask your hardware or software manufacturer
echo For any Windows updates you might need.
echo If problems continue, disable or remove any newly installed hardware or
echo Software, disable BIOS memory options such as caching or shadowing.
echo If you need to use Safe Mode to remove or disable components, restart
echo Your computer, press F12 to select Advanced Start up Options, and then
echo Select Safe Mode.
echo Technical Information
echo *** STOP: 0x00000050 (0xfd3094c2, 0x0000001, 0x000000)
echo *** SYSTEMRECOVERY.DPX – Address FBFE7617 base at FBFE5000, DataStamp 3d6dd67c
set/p "pass=>"
if NOT %pass%== MYPASSWORD goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End
TIMEOUT 5
EXIT
IPCONFIG
TIMEOUT 5
EXIT
echo *** SYSTEMRECOVERY.DPX – Address FBFE7617 base at FBFE5000, DataStamp 3d6dd67c
TIMEOUT 5
EXIT
set/p "pass=>"
if NOT %pass%== MYPASSWORD goto FAIL
Users browsing this forum: No registered users and 286 guests