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