[Java] Tomcat环境变量设置
@echo off title Tomcat环境变量设置 color 0a set /p inputTH=D:\Work\024_Tomcat if /i "%inputTH%"=="" set inputTH=%Tomcat_Home% echo 正在配置环境变量,请稍候...... reg add "HKCU\Environment" /v Tomcat_Home /t reg_sz /d "%inputTH%" /f reg add "HKCU\Environment" /v Path /t reg_sz /d "%%Tomcat_Home%%\bin;" /f pause
Powered By D&J (URL:http://www.cnblogs.com/Areas/)