The directory needs to be the full path (with DOS-style slashes) like:
<cfdirectory action="list"
directory="c:\public\webroot\TheRealWebRoot\Dir1\Dir2\" name="stuff">
HTH,
Howie Hamlin
--
inFusion Project Manager; On-Line Data Solutions, Inc. (631)737-4668
www.CoolFusion.com
============================================================
Please vote for iMS in the Most Innovative category here:
*** http://www.sys-con.com/ColdFusion/readerschoice2000/ ***
============================================================
Check out inFusion Mail Server - the world's most configurable email server
----- Original Message -----
From: Douglas Jordon <[EMAIL PROTECTED]>
To: Cold Fusion List <[EMAIL PROTECTED]>
Sent: Friday, May 19, 2000 1:55 PM
Subject: relative paths
> I can't get my cfdirectory to find the directory I need with a relative
> address:
>
>
> This works:
>
> <cfdirectory action="list"
> directory="/public/webroot/TheRealWebRoot/Dir1/Dir2/" name="stuff">
>
> The tag is in Dir1, and I want a list of Dir2
>
> but I want a relative path eg
>
> <cfdirectory action="list" directory="Dir2" name="stuff">
>
> I'm a unix dummy and am trying ./Dir2, ./Dir2/, /Dir2 etc but nothing
> works. No CF error is returned, either, I just get a RecordCount of 0.
>
> Help!
>
> Doug Jordon
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> 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.eGroups.com/list/cf-talk
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.