Internal associate, arguments

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Granderil
Junior Member
Junior Member
Posts: 2
Joined: 2015-01-27, 08:37 UTC

Internal associate, arguments

Post by *Granderil »

Wanted to use internal associate menu with scripts for packet processing but seems like i can't use %L and such to get selected files list.
Is there a way to do that or the only way is to modife windows context menu or use 3d party software?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You can open multiple files only via context menu. Just define a new internal association, set the "open" command to: **
This opens the file with the default system association.

Then create a new verb, e.g. "ALL with Notepad", with command
notepad.exe "%1"

When you then select multiple files and choose "ALL with Notepad", all the selected files will be opened with this command (separately, not on one long command line). If you need that, you will have to use an internal command (em_something) or button bar button.
Author of Total Commander
https://www.ghisler.com
Granderil
Junior Member
Junior Member
Posts: 2
Joined: 2015-01-27, 08:37 UTC

Post by *Granderil »

Then create a new verb, e.g. "ALL with Notepad", with command
notepad.exe "%1"
Using %1 for packet processing terrifies me. What if we have a lot of files? I want to control the process.

Problem solved however, used PowerPro for all my needs. And if we talking about not using 3d party software, i think i can make script dummy to run cm_UserMenuX commands.

Thanks for answer anyway.
Post Reply