On 12/7/06, Jenda Krynicky <[EMAIL PROTECTED]> wrote:

From: "Dharshana Eswaran" <[EMAIL PROTECTED]>
> Now suppose, a EXE for the Perl Program is created in Windows.
>
>
> The input for the EXE has to be taken from the file provided by the
> user.AndThe EXE shud get invoked by just dragging and dropping the
> input file on the EXE.
>
> Assume, the input file is some text file containing some raw data.
>
> How should this be done?

You'll get the path to the dropped file in @ARGV.

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


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




Hi,

I also wanted to tell the same. For drag and drop, the filename is read from
$ARGV[0].

Now, my tool's EXE is working.


Thanks a lot for your constant support.

Thanks and Regards,
Dharshana

Reply via email to