[SOLVED] open directory in new tab

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
fdsazcw123
Junior Member
Junior Member
Posts: 48
Joined: 2018-11-23, 09:16 UTC

[SOLVED] open directory in new tab

Post by *fdsazcw123 »

hi, need some help here, much appreciated.

normally, i use ctrl + d or autohotkey (assign keyboard shortcuts, example code see below) to open frequently used folders.
but, when the folder opened, instead of in a new tab, its opened in the existing tab (overrite the current tab).

Code: Select all

; when i press ctrl + shift + alt + h, the recent folder will be opened in tc
!^+h::
run C:\totalcmd\TOTALCMD64.EXE "c:\Users\xxx\AppData\Roaming\Microsoft\Windows\Recent\"
return
is there anyway can fix this, so it can be opened in a new tab.

thanks and stay safe!
Last edited by fdsazcw123 on 2020-07-18, 08:53 UTC, edited 1 time in total.
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: open directory in new tab

Post by *Stefan2 »

See "Help > Configuration and Switches > Command line parameters"






 
fdsazcw123
Junior Member
Junior Member
Posts: 48
Joined: 2018-11-23, 09:16 UTC

Re: open directory in new tab

Post by *fdsazcw123 »

Stefan2 wrote: 2020-07-18, 07:27 UTC See "Help > Configuration and Switches > Command line parameters"
thanks
based on your suggestion, i added "/T" to my code in autohotkey, and it works

Code: Select all

!^+h::
run C:\totalcmd\TOTALCMD64.EXE /T "c:\Users\xxx\AppData\Roaming\Microsoft\Windows\Recent\"
return
but still not figure out how to add the command line parameters to the settings in ctrld d menu.

Image: https://1drv.ms/u/s!Am0jArIFoD-Ai5VOmdy0jv34eSKw_A?e=2ORREW
fdsazcw123
Junior Member
Junior Member
Posts: 48
Joined: 2018-11-23, 09:16 UTC

Re: open directory in new tab

Post by *fdsazcw123 »

Stefan2 wrote: 2020-07-18, 07:27 UTC See "Help > Configuration and Switches > Command line parameters"
thanks for your help, and based on this https://www.ghisler.ch/board/viewtopic.php?f=3&t=72310, i managed to figure out how to set the right command.

Code: Select all

%Commander_Exe% /T /S "D:\OneDrive\"
with the code above, i can open the directory in new tab from the ctrl d list.
Post Reply