open folder window in explorer

English support forum

Moderators: Hacker, petermad, Stefan2, white

johannkok
Junior Member
Junior Member
Posts: 5
Joined: 2010-06-29, 09:19 UTC
Location: South Africa

open folder window in explorer

Post by *johannkok »

Hi,
is there a way (command) in Total Commander to open the current folder in an explorer window? E.g. the same window folder I would get if I open the folder using My Computer on the desktop.

regards
Johann
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Buttonbar button:

Code: Select all

Command: explorer.exe
Parameters: %P
:wink:
User avatar
ehab
Senior Member
Senior Member
Posts: 271
Joined: 2007-10-29, 07:41 UTC
Location: Libya

Post by *ehab »

or just have the cursor on the directory and then

ctrl + enter

enter
#181344 Personal licence
User avatar
theosdikaios
Senior Member
Senior Member
Posts: 228
Joined: 2006-02-04, 13:02 UTC

Post by *theosdikaios »

A simple dot is enough.
Type "." into command line and enter.
"Since there are many things which have never happened and never will happen,
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

My method is more universal - it doesn't use command line and it can be bound to any hotkey or buttonbar button. :)
Phred
Senior Member
Senior Member
Posts: 382
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Post by *Phred »

I see the . method opens the current folder whereas the ^Enter Enter method opens the selected child.
johannkok
Junior Member
Junior Member
Posts: 5
Joined: 2010-06-29, 09:19 UTC
Location: South Africa

Post by *johannkok »

Thanks,
the ^Enter Enter does work but I would like to set it up as a keyboard shortcut as MVV suggested. But I cannot find the cm_explorer (or related) command to actually set it up as a shortcut?
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

johannkok wrote:But I cannot find the cm_explorer (or related) command to actually set it up as a shortcut?
You can do by creating an extended command then assign a hotkey for it.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

johannkok, open command browser using cm_CommandBrowser, then select group usercmd.ini and add new command e.g. em_explore, fill fields just like for buttonbar button - and you will get new em_explore command that can be used for assigning a hotkey or for adding to buttonbar.
johannkok
Junior Member
Junior Member
Posts: 5
Joined: 2010-06-29, 09:19 UTC
Location: South Africa

Post by *johannkok »

Thanks to all - it worked!

Now I also know about creating more complex user commands.

It will be nice if Total Commander shows you a Power Tip every time you open it.

regards
User avatar
theosdikaios
Senior Member
Senior Member
Posts: 228
Joined: 2006-02-04, 13:02 UTC

Post by *theosdikaios »

2MVV
My method is more universal
Compared with what? The simple dot can be used in button bar or ... too. :D
"Since there are many things which have never happened and never will happen,
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
johannkok
Junior Member
Junior Member
Posts: 5
Joined: 2010-06-29, 09:19 UTC
Location: South Africa

Post by *johannkok »

I don't even show the button bar as I'm a keyboard person - so can the simple '.' be setup with a keyboard shortcut too?
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

theosdikaios wrote:
My method is more universal
Compared with what? The simple dot can be used in button bar or ... too. :D
I was talking about comparing usercommand and dot in command line:
MVV wrote:it doesn't use command line and it can be bound to any hotkey or buttonbar button
:D
User avatar
theosdikaios
Senior Member
Senior Member
Posts: 228
Joined: 2006-02-04, 13:02 UTC

Post by *theosdikaios »

so can the simple '.' be setup with a keyboard shortcut too?
Yes it can. Create a user defined command and bind that command with a shortcut.

usercmd.ini wrote:[em_OpenCurrentFolderWithExplorer]
button=
cmd=.
menu=Open current folder with Explorer
wincmd.ini wrote:[Shortcuts]
CAS+F1=em_OpenCurrentFolderWithExplorer
"Since there are many things which have never happened and never will happen,
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Or right-click, "Explore", when the cursor is on [..]

I find it odd the keyboard shortcuts can Open
1) The Folder the cursor is on, or 2) The Parent when on [..]
Yet there is no similar keyboard shortcut for current dir.

To open the current dir in explorer, its a completely different group of actions:
Ctrl+Down (to Focus command-line); "." & <Enter>
It also seems wrong that once you do Ctrl+Enter (or Shift+Ctrl+Enter),
---> The Command-Line is NOT focused.
If you try to focus the command-line with Ctrl+Down
---> The text that was just added is replaced with the last used item in the command-line history.
Yet, Alt+F8:
---> Focuses the command-line, and selects the Text that was just added.
Post Reply