External tools integration

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

pplupo
Member
Member
Posts: 102
Joined: 2019-12-02, 16:26 UTC
Location: Canada
Contact:

External tools integration

Post by *pplupo »

Hey all! :-)

I've invested some time integrating several external tools into TC and I've published how I did it. For some of them, batch scripts were needed.
In this post, I once asked what was the best place to publish them. Given the feedback I've got (thank you, @petermad) I'm not editing this post.

I've published the ones that needed scripts on totalcmd.net, and I'm keeping my complete notes in the link below:

https://gitlab.com/pplupo/total-commander

In that repository you will find:

Windows Integration Script: Script to automate the registry keys modification (and rollback) found in the wiki.

Buttons:
  • Run as Admin:
    Run the target file as admin.
  • Copy file contents to the clipboard:
    Copies text files as text and image files as images so you can paste them in your image editor.
  • Open bash in current dir.:
    This uses WSL or Cygwin portable if WSL is not available - it is totally transparent.
  • Open Powershell in current dir.:
    Just instructions on how to set up the parameters, etc.
  • Unlock File/Directory:
    Allows files to be deleted or modified by removing the cursor of processes locking it or even terminating the processes - uses LockHunter portable.
  • WinMerge:
    Just instructions on how to set up the parameters, etc. so you can open it comparing from 2 to 3 files or folders
  • VeraCrypt mount/unmount:
    Just instructions on how to set up the parameters, etc. using the portable version.
  • Undelete with Clever File's Disk Drill:
    Just a tip on how to make it "portable" and have a button inside TC.
  • Download torrents:
    Create a button to download torrents transparently (using qBittorrent behind the scene)s.
Last edited by pplupo on 2021-05-19, 19:48 UTC, edited 3 times in total.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Where to list this? Guidance needed.

Post by *petermad »

2pplupo
Well, you can just do it here in this forum, you actually just need to change the title of this thread to something more meaningfull.

You could also consider putting your stuff in the Wiki: https://www.ghisler.ch/wiki/

Or on totalcmd.net in the Utilities section: https://totalcmd.net/directory/util.html
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
pplupo
Member
Member
Posts: 102
Joined: 2019-12-02, 16:26 UTC
Location: Canada
Contact:

Re: External tools integration

Post by *pplupo »

Hey petermad, do you know if it would be ok to just link my github page in the wiki? I don't want to have to maintain 3 different places (github, totalcmd.net and the wiki).
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: External tools integration

Post by *petermad »

Hey petermad, do you know if it would be ok to just link my github page in the wiki?
I don't see why not.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: External tools integration

Post by *ghisler(Author) »

Yes, linking to external pages is fine as long as it isn't advertising for unrelated things like gambling etc.
Author of Total Commander
https://www.ghisler.com
pplupo
Member
Member
Posts: 102
Joined: 2019-12-02, 16:26 UTC
Location: Canada
Contact:

Re: External tools integration

Post by *pplupo »

ghisler(Author) wrote: 2021-05-20, 10:22 UTC Yes, linking to external pages is fine as long as it isn't advertising for unrelated things like gambling etc.
Thank you. It's just the gitlab repo with the instructions. :-)
Unfortunately, I can't log in on the wiki. :-(
Axis
Junior Member
Junior Member
Posts: 88
Joined: 2015-07-14, 18:53 UTC

Re: External tools integration

Post by *Axis »

They seem to me very interesting tools, many thanks pplupo.
pplupo
Member
Member
Posts: 102
Joined: 2019-12-02, 16:26 UTC
Location: Canada
Contact:

Re: External tools integration

Post by *pplupo »

Axis wrote: 2021-05-21, 01:29 UTC They seem to me very interesting tools, many thanks pplupo.
I appreciate it. :-) I hope you enjoy!
TychoBarfy
Senior Member
Senior Member
Posts: 340
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Re: External tools integration

Post by *TychoBarfy »

2pplupo, thanks! Nice suggestions and examples.

Here is my suggestion for "nircmdc.exe elevate", which adds a button to
buttonbar to Open elevated command line in current dir:

Code: Select all

Command: %COMMANDER_PATH%\addons\NirCmd\nircmdc.exe elevate
Parameters: cmd /k cd %P && %B+
It calls elevated cmd.exe, changes to directory in param %P (i.e. "f:\xxx\yyyy\") and goes
to the drive used in the path param (so here %B+ is f:).
Last edited by TychoBarfy on 2021-05-23, 12:01 UTC, edited 1 time in total.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: External tools integration

Post by *Horst.Epp »

TychoBarfy wrote: 2021-05-23, 11:48 UTC 2pplupo, thanks! Nice suggestions and examples.

Here is my suggestion for "nircmdc.exe elevate", which adds a button to
buttonbar to Open elevated command line in current dir:

Code: Select all

Command: %COMMANDER_PATH%\addons\NirCmd\nircmdc.exe elevate
Parameters: cmd /k cd %P && %B+
It calls elevated cmd.exe, changes to directory in param %P (i.e. "f:\xxx\yyyy\") and goes
to the drive used in the path param (here %B+ is f:).
Thre is no need for the NirSoft tool here.
There is already a right click option "As Administrator" if you add a CMD button in TC.
Also you can start any tool with enhanced rights from a TC buton if you prefix the path with "*"
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
TychoBarfy
Senior Member
Senior Member
Posts: 340
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Re: External tools integration

Post by *TychoBarfy »

Ah, never stop learning. :D
So it would be:

Code: Select all

Command: *%SystemRoot%\system32\cmd.exe
Parameters: /k cd %P && %B+
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: External tools integration

Post by *Horst.Epp »

TychoBarfy wrote: 2021-05-23, 12:03 UTC Ah, never stop learning. :D
So it would be:

Code: Select all

Command: *%SystemRoot%\system32\cmd.exe
Parameters: /k cd %P && %B+
I use this one

Code: Select all

TOTALCMD#BAR#DATA
*%COMSPEC%
/k "cd /d "%P""
C:\Tools\Wincmd\Icons\Cmd.ico
Console


-1
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
TychoBarfy
Senior Member
Senior Member
Posts: 340
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Re: External tools integration

Post by *TychoBarfy »

Thanks

Code: Select all

cmd /k cd /d %P
works too. :roll: 8)
pplupo
Member
Member
Posts: 102
Joined: 2019-12-02, 16:26 UTC
Location: Canada
Contact:

Re: External tools integration

Post by *pplupo »

This is really great input, guys! Thank you! I'll update the page later.
pplupo
Member
Member
Posts: 102
Joined: 2019-12-02, 16:26 UTC
Location: Canada
Contact:

Re: Where to list this? Guidance needed.

Post by *pplupo »

petermad wrote: 2021-05-12, 17:55 UTC 2pplupo
Well, you can just do it here in this forum, you actually just need to change the title of this thread to something more meaningfull.

You could also consider putting your stuff in the Wiki: https://www.ghisler.ch/wiki/

Or on totalcmd.net in the Utilities section: https://totalcmd.net/directory/util.html
Where in the wiki do you suggest I do it? I looked it over and there doesn't seem to be a page for utilities to be integrated into TC.
Post Reply