
pushd "%~dp0"

if NOT exist c:\system.sav\logs md c:\system.sav\logs
set logSpec=c:\system.sav\logs\HPSEU_UWP_PBR_Entry.log

@echo ---- Start UpdateLauncherFoPbrReset.cmd >>%logSpec%

if not exist C:\Recovery\OEM\Point_B\ goto :EntryD

@echo Copying files to C:\Recovery\OEM\Point_B\ >>%logSpec%

copy /y UpdateHpseuHostLauncher.cmd C:\Recovery\OEM\Point_B\ >> %logSpec% 2>&1

if not exist C:\Recovery\OEM\Point_B\UpdateHpseuHostLauncher md C:\Recovery\OEM\Point_B\UpdateHpseuHostLauncher

copy /y HpseuHostLauncher.exe C:\Recovery\OEM\Point_B\UpdateHpseuHostLauncher\ >> %logSpec% 2>&1
copy /y System.Runtime.WindowsRuntime.dll C:\Recovery\OEM\Point_B\UpdateHpseuHostLauncher\ >> %logSpec% 2>&1
copy /y Windows.winmd C:\Recovery\OEM\Point_B\UpdateHpseuHostLauncher\ >> %logSpec% 2>&1

:EntryD
if not exist C:\Recovery\OEM\Point_D\ goto :End

@echo Copying files to C:\Recovery\OEM\Point_D\ >>%logSpec%

copy /y UpdateHpseuHostLauncher.cmd C:\Recovery\OEM\Point_D\ >> %logSpec% 2>&1

if not exist C:\Recovery\OEM\Point_D\UpdateHpseuHostLauncher md C:\Recovery\OEM\Point_D\UpdateHpseuHostLauncher

copy /y HpseuHostLauncher.exe C:\Recovery\OEM\Point_D\UpdateHpseuHostLauncher\ >> %logSpec% 2>&1
copy /y System.Runtime.WindowsRuntime.dll C:\Recovery\OEM\Point_D\UpdateHpseuHostLauncher\ >> %logSpec% 2>&1
copy /y Windows.winmd C:\Recovery\OEM\Point_D\UpdateHpseuHostLauncher\ >> %logSpec% 2>&1

:End
@echo ---- End UpdateLauncherFoPbrReset.cmd >>%logSpec%

popd