@echo off echo delete current path into environmet... set regpath=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment set evname=BAT_HOME reg delete "%regpath%" /v "%evname%" /f pause>nul
@echo off echo delete current path into environmet... set regpath=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment set evname=BAT_HOME reg delete "%regpath%" /v "%evname%" /f pause>nul
转载于:https://www.cnblogs.com/alexYuin/p/9229010.html