Is there a way to define system environment variables for the users session only without having to reboot the server?
On Thu, 05 Jun 2003 08:17:47 -0400, Bushy wrote: > > > Umm... > > Not sure thats what I need. > > We are running CYGWIN which I have certain directories pre-defined. > > Like: > > $test = "c:\documents\test" > > So when a user opens a telnet session they can do: > > > cd $test > > I need to define 200+ environment variables for my web-interface to work. Is there a > way to get system enviroment variables defined without having to hammer them in and > then reboot the server. > > Am I making any sense? > > > > On Thu, 5 Jun 2003 08:03:27 -0400, Heald, Tim wrote: > > > Use the command line > > > > path=%path%+c:\myNewPath\; > > > > Or whatever > > > > Tim > > > > > -----Original Message----- > > > From: Bushy [SMTP:[EMAIL PROTECTED] > > > Sent: Thursday, June 05, 2003 8:07 AM > > > To: CF-Talk > > > Subject: re: Definfing system environment variables > > > > > > Hi, > > > > > > I've developed a web interface that executes a .EXE file on the server. > > > This program being executed requires the system environment "LPDSERVER" to > > > be defined. > > > I can get my application to work if I go and define "LPDSERVER" as a > > > system environment variable and reboot the box. There are quite a few > > > other that need defining also. > > > > > > Is there a way in CF (or someother language) to define Windows 2000 > > > environment variables without having to do it via COntrol Panel? It would > > > be so much easier if they could > > > all be hammered into a database which would make easy updating/defining > > > etc. > > > > > > Please say it can be done? Maybe with a COM? > > > > > > Help... > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

