Hello,
I cannot run the file "X.pox" simply typing it on the [TCC] command line - I'm getting error message:
(NB: Maybe a slightly different message than "System cannot find the specified file" appears - I'm getting the message in Czech, so that's translation, what you would probably get on an en/us machine.)
Also, some checks:
- It seems the problem is that TCC takes the whole associated string as the command/executable name whilst just the first part (until the first space character out-of-quotes) is the name of the executable, the rest are parameters (and, of course, %1 to be replaced by the file name, X.pox, etc.).
In this situation, I must run cmd.exe which handles file extension association properly - but what to do TCC to handle this as well?
TIA.
LuP
I cannot run the file "X.pox" simply typing it on the [TCC] command line - I'm getting error message:
Code:
C:\Lukas\Jobs\Pristpo.PDPS\SO_201\Statics>X.pox
TCC: (Sys) System cannot find the specified file.
"C:\Lukas\Bat\PoX.bat %1 --restart"
(NB: Maybe a slightly different message than "System cannot find the specified file" appears - I'm getting the message in Czech, so that's translation, what you would probably get on an en/us machine.)
Also, some checks:
Code:
C:\Lukas\Jobs\Pristpo.PDPS\SO_201\Statics>assoc .pox
.pox=Po.X.File
C:\Lukas\Jobs\Pristpo.PDPS\SO_201\Statics>ftype pox_auto_file
pox_auto_file="C:\Lukas\Bat\PoX.bat" "%1" --restart
C:\Lukas\Jobs\Pristpo.PDPS\SO_201\Statics>which x.pox
x.pox is associated with : C:\Lukas\Bat\PoX.bat %1 --restart
- It seems the problem is that TCC takes the whole associated string as the command/executable name whilst just the first part (until the first space character out-of-quotes) is the name of the executable, the rest are parameters (and, of course, %1 to be replaced by the file name, X.pox, etc.).
In this situation, I must run cmd.exe which handles file extension association properly - but what to do TCC to handle this as well?
TIA.
LuP