This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients eryksun, paul.moore, steve.dower, thijsvandien, tim.golden, zach.ware
Date 2015-09-28.19:03:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443467031.78.0.794523116097.issue25125@psf.upfronthosting.co.za>
In-reply-to
Content
> I don't believe %1 is necessarily correct here either, but maybe 
> with %* it's redundant anyway

%0, %1, or %L is lpFile. On older systems "%L" guarantees using the long filename, but this is pointless nowadays. %* (i.e. %2 through %9) is lpParameters, which is unusual to have in an edit command. Here's the edit command for .bat files:

    C:\>reg query hklm\software\classes\batfile\shell\edit\command
    
    HKEY_LOCAL_MACHINE\software\classes\batfile\shell\edit\command
        (Default)    REG_EXPAND_SZ    %SystemRoot%\System32\NOTEPAD.EXE %1

It seems using quotes around "%1" is optional.
History
Date User Action Args
2015-09-28 19:03:51eryksunsetrecipients: + eryksun, paul.moore, tim.golden, zach.ware, steve.dower, thijsvandien
2015-09-28 19:03:51eryksunsetmessageid: <1443467031.78.0.794523116097.issue25125@psf.upfronthosting.co.za>
2015-09-28 19:03:51eryksunlinkissue25125 messages
2015-09-28 19:03:51eryksuncreate