Message251787
> 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. |
|
Date |
User |
Action |
Args |
2015-09-28 19:03:51 | eryksun | set | recipients:
+ eryksun, paul.moore, tim.golden, zach.ware, steve.dower, thijsvandien |
2015-09-28 19:03:51 | eryksun | set | messageid: <1443467031.78.0.794523116097.issue25125@psf.upfronthosting.co.za> |
2015-09-28 19:03:51 | eryksun | link | issue25125 messages |
2015-09-28 19:03:51 | eryksun | create | |
|