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:
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.
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).
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.
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, Version 24H2 (OS Build 26100.3915) TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
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.