Button '%L' parameter does'nt work as command?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
sexy69
Member
Member
Posts: 124
Joined: 2016-06-22, 17:21 UTC

Button '%L' parameter does'nt work as command?

Post by *sexy69 »

It works ->
TC button:
Command: "X:\AkelPad.exe"
Parameter: %L

Did not work ->
Command line: "X:\AkelPad.exe" %L
Command line: "X:\AkelPad.exe" "%L"
Command line: "X:\AkelPad.exe %L"

Why?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7022
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

A stupid simple answer:
Because a command is a command and parameters belong to the parameters field.
Whats the problem with that behaviour ?
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1396a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.6 x64
sexy69
Member
Member
Posts: 124
Joined: 2016-06-22, 17:21 UTC

Post by *sexy69 »

I'd like Total Commander when opening a text file (with the "command line"), you have somewhere stored the full path to the file.
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Command line: "X:\AkelPad.exe" %L

Post by *Stefan2 »

sexy69 wrote:Why?
Because it's so by design. Put parameters into the Parameter box.






 
Post Reply