[Javascript] path of file

Andrew Dunn adunn at mail.interworx.com.au
Wed Aug 1 20:43:45 CDT 2001


Hi,
   I'm trying to specifiy a path name of a folder that is one folder above
the current one. Normally I would use "../thefolder" to specify it. But for
some reason this is not working. I'm using ActiveX object (file system
object) in conjuction with Jscript. The line is:


folder_spec = obj_fso.GetAbsolutePathName("../quotes");


But this returns "C:/windows/quotes" which is not the folder location.

Can anyone help me with this?


Thanks.
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010802/c37e3ca1/attachment.htm>


More information about the Javascript mailing list