Ya,same thing works in Unix/linux shell(typically).The variable PATH
should contain the name of the directories(separated by a colon) in which
shell will look for
the given command.
Regards,
Sourabh


 



On Sat, 23 Aug 2003, Michele Ouellet wrote:

> You need to supply the full path of your document, even though it may be
> sitting in the "current directory".
> 
> Good luck,
> 
> Michèle.
> 
> <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I am trying to open a document as below
> >
> > #!/usr/local/bin/perl -w
> >
> >
> > use Tk;
> >
> >
> > my $mw = new MainWindow();
> >
> > my $filename=$mw->getOpenFile(-filetypes=>[['WinWord','winword.exe']]);
> >
> >
> > system("$filename john.doc");
> >
> >
> > But it says it cannot find the $filename path
> >
> > the $filename form is "C:/Program Files/Microsoft
> Office/Office/WINWORD.EXE"
> >
> > How can i overcome this problem?
> >
> >
> >
> >
> 
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to