PATH Variable in ColdFusion

I just stumbled across the fact that the ColdFusion variable #path# refers to my system path, which I think is strange. I wonder if the purpose is to assist CFEXECUTE in finding executables. Anyone know? Any other variables like that which are not commonly known? I tried other environment variables, but #path# was the only one defined.

Update:
I should have mentioned that I’m running CFMX 6.1 on OS X with Apache. Anyone seeing this with any other configurations?

7 Responses to PATH Variable in ColdFusion

  1. rob says:

    Chris,I just attemted this on the standalone 6.1 install on XP Pro and #path# isn’t defined. What install and OS are you on? Wierd.

  2. CFMX 6.1 on OS X. Strange indeed.Christian

  3. Robby says:

    Just for general information…Does on mine too6.1 Apache Xp Pro

  4. Steve House says:

    Might want to see if it is in the CGI scope. We ran into a new CGI variable in MX named version. It returned something like HTTP 1.1 or something. Anyway it was messing up some old code that was checking for existence of the unscoped variable “version”.

  5. rob says:

    I tried, cgi, server, etc. didn’t work. I am not running off Apache or IIS and everyone else seems to be so I am thinking that that has something to do with it.

  6. Running #path# returns error, running #cgi.path# returns blank screen, nothing in source. IIS 5 CFMX6.1

  7. Roland Collins says:

    There are a bunch. “temp” used to be a “phantom” variable – not sure if they fixed it yet.