@echo off
echo restore.bat restoring Java System state from E:\env\%1
e:
cd E:\env\%1

REM import Java region of registry
regedit java.reg

REM restore this version's java*.exe files

copy java.exe C:\winnt\system32
copy javaw.exe C:\winnt\system32
copy javaws.exe C:\winnt\system32

Rem restore deployment.properties file for Java WebStart
copy deployment.properties C:\Documents and Settings\Administrator\Application Data\Java\Deployment

REM -30-