Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

How to? activate tab with same directory in command line

Mar
22
0
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
 
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
 
I was thinking something along the lines of
Code:
Set /v TCC_%_pid=%_cwd

And

Do p in /p set /v TCC_ (if %_cwd==%p activate... Yada Yada)
 

Similar threads

Back
Top