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
                                

Reply via email to