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]

Reply via email to