Revision: 67777
Updated Code
at October 30, 2014 00:56 by jacktan
Updated Code
@echo off set ${STH_HOME}=${homeValue} set PATH=%PATH%;%MYSQL_HOME%\bin
Revision: 67776
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 30, 2014 00:45 by jacktan
Initial Code
@echo off set MYSQL_HOME=E:\Programs\MySQL\MySQLServer5.6 set PATH=%PATH%;%MYSQL_HOME%\bin set mysqlConf=mysql-dev.ini
Initial URL
Initial Description
set-mysqlRT-Env.bat before you run other commands like mysql, call this bat for temporary PATH and other environment variables。 **Vars** to specify + ${STH_HOME} + ${homeValue} **Demo** Vars specified like + ${STH_HOME}=MYSQL_HOME + ${homeValue}=E:\Programs\MySQL\MySQLServer5.6 pluss other bash commond @echo off set MYSQL_HOME=E:\Programs\MySQL\MySQLServer5.6 set PATH=%PATH%;%MYSQL_HOME%\bin set mysqlConf=mysql-dev.ini use it like `call setEnv` or @echo off call setEnv cmd
Initial Title
An example batch file for set temporary PATH
Initial Tags
path
Initial Language
DOS Batch