Paste Path from Clipboard into TC and go to folder ('CD')
Moderators: Hacker, petermad, Stefan2, white
- Munango-Keewati
- Junior Member
- Posts: 31
- Joined: 2003-02-19, 18:45 UTC
Paste Path from Clipboard into TC and go to folder ('CD')
First, many thanks to Mr. Ghisler for the new update. The editable path line is much appreciated.
I often have a situation where I need to copy a path from email to TC through the clipboard. As far as I can tell, there's no paste-from-clipboard command for text strings. I'd like to be able to construct a button or shortcut key which, when pressed, would change the left or right window to display the clipboard path.
Is it possible to do this now (something I've missed), or could such a command be added in a future upgrade?
Thanks!
I often have a situation where I need to copy a path from email to TC through the clipboard. As far as I can tell, there's no paste-from-clipboard command for text strings. I'd like to be able to construct a button or shortcut key which, when pressed, would change the left or right window to display the clipboard path.
Is it possible to do this now (something I've missed), or could such a command be added in a future upgrade?
Thanks!
HI, you can try the following.
Christian added the new edit path option in tcmd 5.51, please look at the help how this works.
But pasting paths to the commandline is faster, so you can use the following.
Make sure you have the option enabled so that when you press a letter it will automatically appear in the commandline (options-->operation-->Quick Search--> you can use any option except the "Letters only" one, then it will work.)
Now what I did was the following, to open a path in one of the panes you can paste the path into commandline and at "cd " infront of it, if you skip the "cd " then the path is opened in explorer
To add this all under a button, you can make a .vbs file in notepad(or other text editor)
Paste the follwing in the file :
set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.SendKeys "cd "
WshShell.SendKeys "^v"
WshShell.SendKeys "~"
Save the file as .vbs (eg paste.vbs) apply it to a button and you can paste paths in the commandline and open them in the panes.
Hope it's clear.
Greetings Mike.
Christian added the new edit path option in tcmd 5.51, please look at the help how this works.
But pasting paths to the commandline is faster, so you can use the following.
Make sure you have the option enabled so that when you press a letter it will automatically appear in the commandline (options-->operation-->Quick Search--> you can use any option except the "Letters only" one, then it will work.)
Now what I did was the following, to open a path in one of the panes you can paste the path into commandline and at "cd " infront of it, if you skip the "cd " then the path is opened in explorer

To add this all under a button, you can make a .vbs file in notepad(or other text editor)
Paste the follwing in the file :
set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.SendKeys "cd "
WshShell.SendKeys "^v"
WshShell.SendKeys "~"
Save the file as .vbs (eg paste.vbs) apply it to a button and you can paste paths in the commandline and open them in the panes.
Hope it's clear.
Greetings Mike.
- Munango-Keewati
- Junior Member
- Posts: 31
- Joined: 2003-02-19, 18:45 UTC
Thanks for the script, which is very smooth and does exactly what I want to do -- except that TC doesn't display the pasted directory when I enter something like
cd C:\path\filename.doc
on the command line. Is there some ini setting I need to adjust? In my setup, the above line plus ENTER does nothing.
By the way, the ini settings are really under documented. It took me quite a while to realize I had to set one to get the new inplace-edit-path feature to work. I think the same was true of the comments feature.
Thanks again!
cd C:\path\filename.doc
on the command line. Is there some ini setting I need to adjust? In my setup, the above line plus ENTER does nothing.
By the way, the ini settings are really under documented. It took me quite a while to realize I had to set one to get the new inplace-edit-path feature to work. I think the same was true of the comments feature.
Thanks again!
No Explorer anymore...W!ke wrote:and at "cd " infront of it, if you skip the "cd " then the path is opened in explorer

There is also such file as "history.txt" that has a lot of useful info tooMunango-Keewati wrote:the ini settings are really under documented. It took me quite a while to realize I had to set one to get the new inplace-edit-path feature to work.

[face=courier]On 23-02-2003 01:49:50 +0000 Valentino wrote:
V> No Explorer anymore...
Try again. "cd" is not
V> needed anymore.
Val, did i missed something? CL still opens a path w/o "cd" in explorer for me.[/face]
V> No Explorer anymore...

V> needed anymore.
Val, did i missed something? CL still opens a path w/o "cd" in explorer for me.[/face]
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
Strange... For me, path without cd in TC's command line does open that dir in TC's source pane, no crippled Explorer anymore... I bet I read about it somewhere but can't remember where, maybe on this or russian forum. Couldn't find it neither in history.txt nor in help. Seems like Christian must clear the case...Black Dog wrote:Val, did i missed something? CL still opens a path w/o "cd" in explorer for me.
[face=courier]On 23-02-2003 22:09:42 +0000 Valentino wrote:
V> OS is WinNT 4 Workstation SP6a.
Well, let's consider it some kind of miracle
. Such a "miracles" happens sometimes under NT4, for example I can copy directories to nul with Commander...[/face]
V> OS is WinNT 4 Workstation SP6a.
Well, let's consider it some kind of miracle

[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]