stackoverflow: passing command-line arguments in Vista 64

For general rambling.
Post Reply
VLSmooth
Tenth Dan Procrastinator
Posts: 3055
Joined: Fri Jul 18, 2003 3:02 am
Location: Varies
Contact:

stackoverflow: passing command-line arguments in Vista 64

Post 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.

quantus
Tenth Dan Procrastinator
Posts: 4891
Joined: Fri Jul 18, 2003 3:09 am
Location: San Jose, CA

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

Post 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...
Have you clicked today? Check status, then: People, Jobs or Roads

Peijen
Minion to the Exalted Pooh-Bah
Posts: 2790
Joined: Fri Jul 18, 2003 2:28 pm
Location: Irvine, CA

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

Post 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.

VLSmooth
Tenth Dan Procrastinator
Posts: 3055
Joined: Fri Jul 18, 2003 3:02 am
Location: Varies
Contact:

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

Post 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).

Jonathan
Grand Pooh-Bah
Posts: 6722
Joined: Tue Sep 19, 2006 8:45 pm
Location: Portland, OR
Contact:

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

Post by Jonathan »

Why are you putting #! lines in your windows perl scripts?

VLSmooth
Tenth Dan Procrastinator
Posts: 3055
Joined: Fri Jul 18, 2003 3:02 am
Location: Varies
Contact:

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

Post by VLSmooth »

Dwindlehop wrote:Why are you putting #! lines in your windows perl scripts?
For portability and habit.

VLSmooth
Tenth Dan Procrastinator
Posts: 3055
Joined: Fri Jul 18, 2003 3:02 am
Location: Varies
Contact:

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

Post by VLSmooth »

Updated! (it works, but it seems hackish)

Post Reply