Don't ask to ask, just ask | |
PerlMonks |
Activestate Perl and "Drag and Drop"by zzspectrez (Hermit) |
on Jul 16, 2004 at 03:51 UTC ( [id://374896]=perlquestion: print w/replies, xml ) | Need Help?? |
zzspectrez has asked for the wisdom of the Perl Monks concerning the following question: Hello, I am having a bitch of time getting drag and drop to work with perl on Windows XP. It's been a while since I have been hacking around with perl.. So maybee Im just rusty. However, I remember doing this before with windows 98 no problemo. If I remember the jist.... You just use pl2bat on your perl script and then when you drop a file onto the batch file it is passed to your script in @ARGV... right?? Doesnt seem to work...------------------------------ ------------------------------ Then: Ok seems to work... Then I double click on the batch file... I get the expected. It waits for me to hit return then the cmd window closes. If you drag and drop on to the batch file, the cmd window opens and then immediately closes... vitals.... **Win Xp **Activestate Perl c:\perl -v This is perl, v5.8.2 built for MSWin32-x86-multi-thread (with 25 registered patches, see -V for more detail) .... snip ....... .Any Suggestions??? thanks.. zzspectrez
Back to
Seekers of Perl Wisdom
|
|