Page 1 of 1

stackoverflow: passing command-line arguments in Vista 64

Posted: Wed Jan 14, 2009 8:54 pm
by VLSmooth
How can one pass command line arguments via file association in Vista 64?
http://stackoverflow.com/questions/4443 ... n-vista-64

This is driving me insane.

Re: stackoverflow: passing command-line arguments in Vista 64

Posted: Wed Jan 14, 2009 9:34 pm
by quantus
Huh? Why is it driving you insane? There seem to be answers in the comments. Well, I guess the comments only showed up about 8 minutes after you posted...

Re: stackoverflow: passing command-line arguments in Vista 64

Posted: Wed Jan 14, 2009 9:58 pm
by Peijen
is it so hard to type "cmd file arg1 arg2"? you know you can tab complete right? so really long command name shouldn't be an excuse either.

Re: stackoverflow: passing command-line arguments in Vista 64

Posted: Wed Jan 14, 2009 10:07 pm
by VLSmooth
The difference broke old scripts that assumed proper argument passing. I'd rather not go back and make all those changes.

In any case, go go stackoverflow!

Now I need to try it with strawberry perl, update the win32perl.org wiki, and should probably tell Alias in #win32@irc.perl.org as well (he was helping diagnose the problem earlier).

Re: stackoverflow: passing command-line arguments in Vista 64

Posted: Wed Jan 14, 2009 10:32 pm
by Jonathan
Why are you putting #! lines in your windows perl scripts?

Re: stackoverflow: passing command-line arguments in Vista 64

Posted: Wed Jan 14, 2009 11:19 pm
by VLSmooth
Dwindlehop wrote:Why are you putting #! lines in your windows perl scripts?
For portability and habit.

Re: stackoverflow: passing command-line arguments in Vista 64

Posted: Wed Jan 14, 2009 11:58 pm
by VLSmooth
Updated! (it works, but it seems hackish)