I am having problems with START /D - which is supposed to start a new window in a specified directory. Here is an example (with variants).
START /DMaths
START /DC:\Maths
START /DC:\Maths\
which I hoped would start a TCC window open in the c:\Maths directory. The problem is that I have a tcstart.btm file which ends with a cd command to another directory, and of course that's where I end up instead. (I don't want to remove that command, since I really don't want TakeCommand to start in its program directory, which is where it starts by default.) The tcstart.btm file does start with the line
if %_pipe != 0 .or. %_transient != 0 quit
which is supposed to cause it to be ignored for instances created by START (or similar commands), but it doesn't seem to work in this case.
Help with this will be very gratefully received, but I might as well mention the *real* problem I have, which is a variation on this. I want to be able to call my editor from the TakeCommand (or rather TCC) commandline, with a START command so it's in a different window (leaving the commandline free for my other uses). But if I call it with a simple START EDITOR FILE command, then the editor starts in my default directory, and so cannot find the FILE. :(
As ever, many thanks in advance.
-= rags =-
START /DMaths
START /DC:\Maths
START /DC:\Maths\
which I hoped would start a TCC window open in the c:\Maths directory. The problem is that I have a tcstart.btm file which ends with a cd command to another directory, and of course that's where I end up instead. (I don't want to remove that command, since I really don't want TakeCommand to start in its program directory, which is where it starts by default.) The tcstart.btm file does start with the line
if %_pipe != 0 .or. %_transient != 0 quit
which is supposed to cause it to be ignored for instances created by START (or similar commands), but it doesn't seem to work in this case.
Help with this will be very gratefully received, but I might as well mention the *real* problem I have, which is a variation on this. I want to be able to call my editor from the TakeCommand (or rather TCC) commandline, with a START command so it's in a different window (leaving the commandline free for my other uses). But if I call it with a simple START EDITOR FILE command, then the editor starts in my default directory, and so cannot find the FILE. :(
As ever, many thanks in advance.
-= rags =-