open folder window in explorer
Moderators: Hacker, petermad, Stefan2, white
Shift+RightArrow (or LeftArrow) is the safest way to focus the command line without risk of having what's already there altered. If you are not in Brief view or Thumbnail view, you don't even need to press Shift. This is also the way described in the help file.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
Cool, but Shift+(Right|Left) is not intuitive to me. Nor in tune with what all the other Left/Right combinations do (with or without modifier keys).
I don't see a need for 4+ keys (incl. Ctrl+Down and ALT+F8) to do the same basic task.
I'll fix it (if possible) with AHK to do:
The gain is not needing to use 4+ different keys to non-destructively access the command-line and command-line history.
And as I Think about it, could also make it so if the command-line is not open, then Ctrl+Down does the same action as Ctrl+Shift+Enter
Which in essence means:
1) I can make one button on the mouse (MButton5) do those "Ctrl+Down" actions, and
2) Scroll-Wheel Down already returns to FileList by default in TC. Thus just need to make Scroll-Wheel-Up go to Target Panel.
3) Perhaps make MButton4 be Enter when the Command-Line is Focused.
I don't see a need for 4+ keys (incl. Ctrl+Down and ALT+F8) to do the same basic task.
I'll fix it (if possible) with AHK to do:
The only thing lost with this simplification is, Ctrl+Down needs to be used twice to insert the last used command vs once now.If command-line is Not open:
--> Ctrl+Down: Opens command-line
If Command-Line is open, but not focused:
--> Ctrl+Down: Non-Destructively focus on command-line.
If Command-Line is open And focused:
--> Ctrl+Down: Toggles (opens/closes) command-line History.
[no change]: Up/Down Arrows puruses the History.
If command-line is focused And History is off/closed:
--> DownArrow: goes back to previous (source) FileList (panel)
--> UpArrow: goes to the Target FileList (panel)
The gain is not needing to use 4+ different keys to non-destructively access the command-line and command-line history.
And as I Think about it, could also make it so if the command-line is not open, then Ctrl+Down does the same action as Ctrl+Shift+Enter

Which in essence means:
1) I can make one button on the mouse (MButton5) do those "Ctrl+Down" actions, and
2) Scroll-Wheel Down already returns to FileList by default in TC. Thus just need to make Scroll-Wheel-Up go to Target Panel.
3) Perhaps make MButton4 be Enter when the Command-Line is Focused.
Select the desired folder with Total commander -> Right click with mouse to show contextual menu -> Open. Will open with Windows explorer instead of TC (at least in my computer with Windows 7). The good thing is that it works the same even if you don't have a mouse, because you can use the Menu key on your keyboard or use the button of your trackpad that emulates the mouse's right button if you have a notebook.
Re: open folder window in explorer
necroposter breakink in:
Hi everyone!
I used this
To make TC open the folder with explorer by pressing Ctrl+Enter. But it opens current folder. Is there a way to make it open the folder under the cursor?
Hi everyone!
I used this
Code: Select all
Command: explorer.exe
Parameters: %P
Re: open folder window in explorer
frozensun wrote: 2023-04-17, 15:02 UTC necroposter breakink in:
Hi everyone!
I used thisTo make TC open the folder with explorer by pressing Ctrl+Enter. But it opens current folder. Is there a way to make it open the folder under the cursor?Code: Select all
Command: explorer.exe Parameters: %P
Try to quote your %P-parameter >>>> "%P"
Re: open folder window in explorer
This is my button
Code: Select all
TOTALCMD#BAR#DATA
C:\Windows\explorer.exe
/select,"%P%N"
C:\Windows\explorer.exe
Selected file in Explorer
0
-1
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
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
Re: open folder window in explorer
no change
this stiill opens current directory but with preselected file/folder that was under the cursor.
but...
this %N parameter is what I was looking for.
Code: Select all
explorer.exe
"%P%N"
Thank you!
Re: open folder window in explorer
Command: explorer.exe
Parameters: %P
This command will open countless resource managers in the process. Each resource manager occupies 70M of memory and will not exit.
He does not open the current directory of TC in the only resource manager.
Instead, reopen a resource manager. You can open as many resource managers as you want. This is how I do it on win11.
Parameters: %P
This command will open countless resource managers in the process. Each resource manager occupies 70M of memory and will not exit.
He does not open the current directory of TC in the only resource manager.
Instead, reopen a resource manager. You can open as many resource managers as you want. This is how I do it on win11.
Re: open folder window in explorer
2ootoo
Run from cmd:
And use this scheme:
Command: rundll32.exe url.dll, OpenURL
Parameters: "%P" (or %P%N, if you want the system to open a folder or file under the cursor)
Run from cmd:
Code: Select all
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v SeparateProcess /d 0
gpupdate /force
Command: rundll32.exe url.dll, OpenURL
Parameters: "%P" (or %P%N, if you want the system to open a folder or file under the cursor)
Last edited by Fla$her on 2024-09-08, 00:04 UTC, edited 1 time in total.
Overquoting is evil! 👎
Re: open folder window in explorer
Fla$her wrote: 2024-09-07, 18:14 UTC 2ootoo
Run from cmd:And use this scheme:Code: Select all
reg /add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v SeparateProcess /d 0 gpupdate /force
Command: rundll32.exe url.dll, OpenURL
Parameters: "%P" [color=#BFBFF](or[/color] %P%N, if you want the system to open a folder or file under the cursor)
The first code reg /add HKCU cannot be used,
The second method is perfect, thank you
Re: open folder window in explorer
I forgot to remove the slash before add. Fixed.
Overquoting is evil! 👎