How to? activate tab with same directory in command line

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Mar 9, 2012
22
0
#1
hi

is it possible to call

Code:
"C:\Program Files\JPSoft\TCMD13\tcmd.exe" /D "d:\somedir\another" /T TCC
so that if tcmd is already running and one of the tabs already on d:\somedir\another is activated rather than open a new one?

thanks for any pointers or feedback
regards
ehab
 

samintz

Scott Mintz
May 20, 2008
1,204
11
Solon, OH, USA
#5
Ehab,

You could create your own "IPC" using the volatile registry. You could use a post_exec alias and send %_cwd to a volatile env variable. Then in your tcstart file check if there is a match, activate that window, and exit.

I don't have access to my pc to test any of that this week. I'm using an iPad to stay up to date on my emails. But Charles or Vincent might be willing to try something.

Scott