[Starkit] Re: sdx on Windows
Goodwin Lawlor
goodwin.lawlor at ucd.ie
Tue Aug 16 12:09:09 CEST 2005
Hi Bob,
> Today I was trying to do the same thing, and couldn't get sdx.bat to work.
> No matter what combination of tclkit and sdx (or tclkit.exe or sdx.kit) and
> various PATHs, I couldn't get anything other than "Can't read sdx."
tclkitsh.exe is recommended over tclkit.exe for running sdx.kit- but
both will work (tclkit.exe pops up a sdx "command line"). If you cd to
the directory where sdx.kit is and sdx.bat and tclkitsh.exe are in your
path, then it will work- but that is inconvenient if you want to call
sdx from other directories (you'll have to copy sdx.kit to those
directories).
> had the idea of just making sdx.exe as a starpack from sdx.kit. Viola.
> I've got something that works reliably on the command line and from
> makefiles.
making a sdx.exe starpack and putting it in your path is probably the
most fool-proof way. Here's another:
From the commandline:
assoc .kit=Tclkit
ftype Tclkit=tclkitsh.exe
set PATHEXT=.kit;%PATHEXT%
Make sure that sdx.kit and tclkitsh.exe are in your path. Now you can
just type "sdx" from the commandline.
You can also do the above operation through the windows gui from within
explorer... goto the "Tools" menu, then "Folder options", then the "File
Types" tab. Click "New" to add a new file type.
hth
Goodwin
More information about the Starkit
mailing list