the ..\\test.xls is not same file as d:\\test,and i do know what it means,my 
perlscript is in d://perlscript//test.pl,and i wanna open d://test.xls,i cannnot 
understand why the relative path cannot work.

-----Original Message-----
From: Carl Jolley [mailto:[EMAIL PROTECTED]]
Sent: 2002年11月28日 10:06
To: Wang Yuki-R59273
Cc: [EMAIL PROTECTED]
Subject: Re: relative path in Win32::OLE


On Wed, 27 Nov 2002, Wang Yuki-R59273 wrote:

> Hello all,
>
> I don't know why i cannot use relative path is Win32:OLE like this:
> my $Book = $Excel->Workbooks->Open("..\\test.xls");
> I only can make it work with abosolute path like this:
> my $Book = $Excel->Workbooks->Open("d:\\test.xls");
> can anyone suggest a solution with relative?
>

Uhh, if ..\\test.xls is supposed to be the same file as
d:\\test.xls then I don't think you understand what the ..\
directory does. If text.xls is at the root level of drive d:
then test.xls doesn't have a parent directory.

**** [EMAIL PROTECTED] <Carl Jolley>
**** All opinions are my own and not necessarily those of my employer ****
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to