@echo off echo delete current path into environmet... set regpath=HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerEnvironment set evname=BAT_HOME reg delete "%regpath%" /v "%evname%" /f pause>nul
@echo off echo delete current path into environmet... set regpath=HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerEnvironment set evname=BAT_HOME reg delete "%regpath%" /v "%evname%" /f pause>nul