Setting path for environment variables
I have set the environment variables for JAVA_HOME, MYSQL_HOME
now i want to set the path for them. How to set it ?
How to use EnvVarUpdate function to set the path ?
Thanks
Archive: Setting path for environment variables
Setting path for environment variables
I have set the environment variables for JAVA_HOME, MYSQL_HOME
now i want to set the path for them. How to set it ?
How to use EnvVarUpdate function to set the path ?
Thanks
Have a look at the this page
Originally posted by ComperioHi,
Have a look at the this page
It waits for all applications to respond that they got the modification. There's probably a hung or misbehaving application on your Vista installation. Try reducing the timeout to avoid it.
Originally posted by kichikHi kichik,
It waits for all applications to respond that they got the modification. There's probably a hung or misbehaving application on your Vista installation. Try reducing the timeout to avoid it.
; "Export" our change SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
If you don't inform other applications, they'll only update the environment when you restart them or the entire computer.
Originally posted by kichikSo if I add a new value to the environment for the app that I just install, it is not required to inform the other apps because the new PATH value has no effect for them.
If you don't inform other applications, they'll only update the environment when you restart them or the entire computer.
It waits up to 5 seconds per application.