ebbe wrote:
| I have TCMD/TCC installed in "C:\Program Files\JPSoft\TCMD9" and so
| TCC sets the ComSpec variable accordingly:set comspec
| C:\ProgramFiles\JPSoft\TCMD9\tcc.exe
|
| This confuses programs that expect ComSpec to be without spaces as it
| is when CMD is running:set comspec ComSpec=C:\WINDOWS\system32\cmd.exe
|
| I propose an option for TCC where you can tell it to set the ComSpec
| variable using the short file name (SFN).
You can do it yourself in your TCSTART.BTM:
set comspec=%@sfn[%comspec]
Better yet, do what many others do: make your computer your Personal
Computer (and not Bill's playground), ignore Microsoft's rules for default
installation directory, and install JPsoft (and other) products using
pathnamess without special characters, e.g., C:\JPsoft\TCMD9. If you do this
when installing the product, all Windows (registry) references will be to
the simple path.
Another alternative: create a soft link C:\Programs to "C:\Program Files".
In WinXP this would have to be a "junction", but in Vista it could be a hard
link. This effectively creates your own, private SFN for "C:\Program Files".
Lastly, the method which may be the simplest, but possibly not very pleasing
one: start TCC using its SFN! Do this by modifying the desktop shortcuts,
etc.
--
HTH, Steve