set currentpath=%cd% @rem جن؛؛ set path=%currentpath:ManageTools=Java% set java_home=\jdk1.6.0 set java_home=%path%%java_home% start reg add "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment" /v "JAVA_HOME" /t reg_sz /d %java_home% /f @reg add "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment" /v "JAVA_HOME" /t reg_sz /d "aaaaa" /f @rem reg add "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment" /v "JAVA_HOME" /t reg_sz /d %java_home% /f @rem reg add "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment" /v "X" /t reg_sz /d "Y" /f @rem REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment" /v "JAVA_HOME" /t reg_sz /d java_home /f start reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" /v Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run] "ctfmon.exe"="C:\\WINDOWS\\system32\\ctfmon.exe" "360sd"="\"D:\\Program Files\\360\\360SD\\360sdrun.exe\"" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\360Disabled] "HW_OPENEYE_OUC_Mobile Card"="rem \"C:\\Program Files\\Mobile Card\\UpdateDog\\ouc.exe\"" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\AdobeUpdater]