- Jun
- 4
- 0
I wonder if there's a way to make ttcle execute a batch name with an arbitrary file exetension, let's say batch.tccle
The need arise since I have a big reservoir of old batches written for 4nt 4 to 6 which sometimes disfunction in newer versions. Then I envisioned a simple way of "versioning" by assignin .btm (or .4nt) to 4nt and .tccle to tccle. That way it would be obvious what version they were written for also when seeing files from the file system.
Sure I could add a small header to load the right interpreter, or even revise each batch to work correctly with new versions of the interpreter, but they are a LOT of batches and I don't use them very often.
Back to the question: when I try to execute batch.tccle the interpreter asks windows what to do with it.
It seems that .bat .cmd .btm .exe .com and the other executables extensions are hardcoded into the command processor. Am I Right? Is there a way to circumvent it?
Thank you
The need arise since I have a big reservoir of old batches written for 4nt 4 to 6 which sometimes disfunction in newer versions. Then I envisioned a simple way of "versioning" by assignin .btm (or .4nt) to 4nt and .tccle to tccle. That way it would be obvious what version they were written for also when seeing files from the file system.
Sure I could add a small header to load the right interpreter, or even revise each batch to work correctly with new versions of the interpreter, but they are a LOT of batches and I don't use them very often.
Back to the question: when I try to execute batch.tccle the interpreter asks windows what to do with it.
It seems that .bat .cmd .btm .exe .com and the other executables extensions are hardcoded into the command processor. Am I Right? Is there a way to circumvent it?
Thank you