Page 1 of 1

CD %clipboard%

Posted: 2012-09-04, 08:14 UTC
by Senyai
Hi!
I often have a full path in the clipboard and I want to `CD` there. I used to type `CD shift+ins`before, but recently I found that `just typing` is so much cooler to use in "quick search" rather than "command line". So, I have two suggestions:

* When text is in the clipboard, Ctrl+V or Shift+Ins `CD` there.
* There must be a parameter that inserts clipboard text, like `%C`. Currently I can use `?` parameter, but I want to save typing.

Total Commander ftw!

Posted: 2012-09-05, 08:08 UTC
by ZoSTeR
You could use NirCmd for that:

Create a button or user-command with the following:

Code: Select all

nircmd.exe exec show "%COMMANDER_PATH%\totalcmd.exe" /O /T /L=~$clipboard$
This will create a new tab for the path in the clipboard. Change the /OTL to your liking and assign a hotkey.

Re: CD %clipboard%

Posted: 2012-09-20, 08:29 UTC
by Valentino
Senyai wrote:* When text is in the clipboard, Ctrl+V or Shift+Ins `CD` there.
* There must be a parameter that inserts clipboard text, like `%C`. Currently I can use `?` parameter, but I want to save typing.
I usually invoke Go To command (assigned Ctrl+G for this) and then Ctrl+V. But first suggestion would be cool!

Posted: 2012-09-20, 11:41 UTC
by HolgerK
I usually invoke Go To command (assigned Ctrl+G for this) and then Ctrl+V
Funny.
I've assigned <CTRL+G> to cm_EditPath.

:wink:
Holger

Posted: 2012-09-21, 13:55 UTC
by Valentino
HolgerK wrote:
I usually invoke Go To command (assigned Ctrl+G for this) and then Ctrl+V
Funny.
I've assigned <CTRL+G> to cm_EditPath.
Yeah, I've meant the same command. I named it "Go To" in my menu.

Posted: 2012-09-29, 20:06 UTC
by Senyai
Thank you! cm_EditPath is what I was looking for.