@echo off echo add current path into environmet... set regpath=HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerEnvironment set evname=BAT_HOME set batpath=c:at reg add "%regpath%" /v %evname% /d %batpath% /f pause>nul
@echo off echo add current path into environmet... set regpath=HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerEnvironment set evname=BAT_HOME set batpath=c:at reg add "%regpath%" /v %evname% /d %batpath% /f pause>nul