Total Commander allows you to directly call the CMD command window and set the path to the current active window. The shortcut is Ctrl + G.
Powercmd is a convenient command line tool that supports multiple tags, automatic storage, highlighted search, line number display, collapse, and other functions.
The following describes how to call powercmd in total commander.
Step 1: Modify user commands,
Add the following content to usercmd. ini of total Commander:
[Em_powercmd]
Cmd = I:/program files/powercmd/powercmd.exe
Path = I:/program files/powercmd/
Param =/P "% P"
CMD is the path of powercmd,
PATH is the start path.
In Param,/P is the parameter of powercmd, indicating the start path.
"% P" is the total Commander parameter indicating the current directory. Note that brackets should be added.
% P indicates the source folder. in TC, the current activation window is the source folder, and the other window is the target folder, represented by % T. Here, % P and % T should be capitalized. Otherwise, long file names cannot be well supported.
Step 2: Define shortcuts
Select "Settings-others" in the configuration menu of total commander, and select the appropriate key in the shortcut key of "redefinition shortcut". Here I select Alt + G, click the magnifier button after "command" to select the command. In "category" "usercmd. in INI, select em_powercmd. OK.
The settings are complete. Press Alt + G in total Commander. The powercmd window is displayed.
In the settings of powercmd, you can choose to run only one instance and other settings.