Thanks thanks, a very nice lesson again !!  Feel quite sorry that I even 
never heard about this command for using windows after so many 
years... 

Thousands thanks, 
Bee


----- Original Message ----- 
From: "Bob Showalter" <[EMAIL PROTECTED]>
To: "'Bee'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, October 07, 2004 8:24 PM
Subject: RE: Open file with default application software on Windows ?


> Bee wrote:
> > Hello,
> > 
> > I am curious to know that if that is an existed module to open files
> > with it's default application just like I double click on the file
> > with mouse. and I do something just like this with my code : 
> > 
> > use defaultOpen;
> > defOpen 'C:\temp.gif' or die "$!" ; # Then the image will open with
> > photoshop. 
> > defOpen 'C:\temp.doc' or die "$!" ; # then the document will open
> > with Word. 
> > 
> > I've made this done by writting a batch like code.. but I sure that's
> > unsafe and unportable. 
> 
> won't
> 
>    system "start temp.doc"
> 
> do the trick?
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
> 
> 
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to