OK...so how can I define system environment variables using CF rather than doing it manually?
On Thu, 5 Jun 2003 14:58:04 -0400, Ben Doom wrote: > Um. No. > > That just creates variables in the request scope. The request scope has > nothing to do with the server's OS. > > > -- Ben Doom > Programmer & General Lackey > Moonbow Software, Inc > > : -----Original Message----- > : From: Bushy [mailto:[EMAIL PROTECTED] > : Sent: Thursday, June 05, 2003 2:14 PM > : To: CF-Talk > : Subject: RE: <cfscript > : > : > : OK. > : > : I thought using the below I could define system environment variables? > : > : <cfscript> > : REQUEST.DIR1 = "C:\documents\dir1"; > : REQUEST.DIR2 = "C:\documents\dir2"; > : REQUEST.DIR3 = "C:\documents\dir3"; > : </cfscript> > : > : On Thu, 5 Jun 2003 10:59:59 -0700, Barney Boisvert wrote: > : > : > you need semicolons at the end of your lines. Every CFSCRIPT statement > : > requires a semicolon to terminate it, excepting block > : statements (if, for, > : > while, etc). > : > > : > x = 0; > : > if (x GT 1) > : > x = 1; > : > > : > > : > --- > : > Barney Boisvert, Senior Development Engineer > : > AudienceCentral (formerly PIER System, Inc.) > : > [EMAIL PROTECTED] > : > voice : 360.756.8080 x12 > : > fax : 360.647.5351 > : > > : > www.audiencecentral.com > : > > : > > -----Original Message----- > : > > From: Bushy [mailto:[EMAIL PROTECTED] > : > > Sent: Thursday, June 05, 2003 10:56 AM > : > > To: CF-Talk > : > > Subject: <cfscript > : > > > : > > > : > > Hi, > : > > > : > > Whats wrong with the below syntax? > : > > > : > > Here is the error: > : > > > : > > Error Diagnostic Information > : > > Just in time compilation error > : > > > : > > Invalid parser construct found on line 25 at position 1. > : > > ColdFusion was looking at the following text: > : > > > : > > </cfscript> > : > > Invalid expression format. The usual cause is an error in the > : > > expression structure. > : > > The last successfully parsed CFML construct was a CFSCRIPT tag > : > > occupying document position (23:1) to (23:10). > : > > > : > > > : > > <cfscript> > : > > REQUEST.DIR1 = "C:\documents\dir1" > : > > REQUEST.DIR2 = "C:\documents\dir2" > : > > REQUEST.DIR3 = "C:\documents\dir3" > : > > </cfscript> > : > > > : > > > : > > > : > > > : > > : > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

