for the number one..you want to know where the file is...you can use
something like this

<CFSET THISFILE = #ExpandPath("*.*")#>
<CFSET THISFILE = #GetDirectoryFromPath("#THISFILE#")#>
<CFOUTPUT>#THISFILE#</CFOUTPUT>

Should work.

Joel


----- Original Message -----
From: "Stanislav Maximov" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Sent: Monday, July 10, 2000 7:37 PM
Subject: roots


> Hello,
>
> 1. Just wondering if there is some variable defined which stores local
root
> of the running application: C:\Inetpub\wwwroot\ for example.
>
> 2. Another thing I can't understand is why the / sign does not address the
> web root folder of the application. Why if I call the module with
> template="/some.cfm" the / sign still addresses current directory? Where's
> the logic?
>
> TIA,
> stas@
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to