[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] how to set system environment variables programmatically?

hi all,

May i know how can i set the system environment variables programmatically? i created a bat file which do the set command. but after i execute that batch file through runtime.exec, and i try to system.getenv("abc"), it print null. actually i want it to be set in system environment variables as my next runtime.exec will search for that environment variables to perform some task. so could anyone help me on it?thanks.