#357 Add envroment varibles per tab

closed
nobody
5
2011-03-05
2011-03-03
John Thornton
No

It would be helpful to be able to set some environment variables per tab. Even nicer would be if you could specify if you want to overwrite or append to the existing system/user environment. For example I might want to append to the PATH, but overwrite the JAVA_HOME.

Discussion

  • Kirill
    Kirill
    2011-03-05

    The way to do that is to setup the Shell as

    cmd /k c:\path\to\myenv.bat

    myenv.bat may contain:
    @echo off
    :: prepend w:\work to path
    set PATH=w:\work;%path%
    :: overwrite JAVA_HOME
    set JAVA_HOME=w:\work\java

     
  • Kirill
    Kirill
    2011-03-05

    • status: open --> closed