Add button with shell command

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
_hunter
Junior Member
Junior Member
Posts: 18
Joined: 2007-10-31, 09:21 UTC

Add button with shell command

Post by *_hunter »

Greetings,

Is it possible to add new button with shell command "in" it?
I'd like to have a shortcut for file truncation: "> full_file_name".
Can I do this?

Best regards...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48104
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, add a button and set the function type to the last available, "Send system command".

The command MUST be either sh or su. The paramters can be one or more shell commands on separate lines.

You can put a * at the beginning of the parameter to show the results in a message box instead of a short "toast" message.
Author of Total Commander
https://www.ghisler.com
_hunter
Junior Member
Junior Member
Posts: 18
Joined: 2007-10-31, 09:21 UTC

Post by *_hunter »

Thanks! -- It's worked.
Post Reply