[Starkit] Re: [Metakit] Autorun for wikit

Chan Chi Hung chihung at mc-3.org
Tue Nov 15 15:52:57 CET 2005


I still cannot run the wikit directly from CDROM, which is a readonly media.

However, I had a work-around solution. I wrote a bat file so that my 
autorun.inf will launch that directly. In the bat file, I stored the 
cdrom drive path, then change directory to the local c: drive before I 
run the wikit, see below for a sample bat file

%ECHO OFF
SET CDROM=%CD%
C:
%CDROM%tclkit-win32.exe %CDROM%wikit -readonly %CDROM%wikit.tkd

In my case, the variable CDROM is "D:\".

BTW, the autorun.exe does not work for me.

I would really love to know why I cannot launch directly from CDROM 
drive. Does the starkit trying to write something to the current directory ?

Jean-Claude Wippler wrote:

> Chi Hung Chan wrote:
> 
>> I want to make my wikit application on cdrom to be autorun.
>>
>> I created a autorun.inf
>> [autorun]
>> open=tclkit-win32.exe wikit
>>
>> However, it refused to auto startup (other CDs are able to do so).
>>
>> I tried to do it manually from CMD.exe, cd to cdrom drive and
>> "tclkit-win32.exe" itself can launch manually, but not "tclkit- win32.exe
>> wikit".
> 
> 
> This is probably caused by the CD being read-only.  Wikit needs a  
> datafile (defaulting to wikit.tkd in your example) and opens it in r/ w 
> mode since it normally allows changes.
> 
> Try "tclkit-win32.exe wikit wikit.tkd -readonly".  This assumes  "wikit" 
> is indeed the proper name of the application, not "wikit.kit".
> 
> I've sent the reply to the Starkit mailing list, which is more  suitable 
> for questions related to starkits and tclkit.
> 
> -jcw
> 
> _____________________________________________
> Metakit mailing list  -  Metakit at equi4.com
> http://www.equi4.com/mailman/listinfo/metakit

-- 
#
#
rename proc //
// t: n {regexp {^6\d{7,7}$} $n}; // f: n [info body t:]
// m: n {regexp {^9\d{7,7}$} $n}; // e: e {regexp {^[^@]+@[^@]+$} $e}
// a: args {string length $args}; // c: args [info body a:]; if {


[c: managed computing competency centre]                 &&
[a: ntu, mae, blk n3 #01c-10, 50 nanyang ave, s(639798)] &&
[t: 67904420]                                            &&
[f: 63160042]                                            &&
[m: 97317462]                                            &&
[e: chihung at mc-3.org]


} {format {%c%c%c %c%c %c} 84 99 108 105 115 37239}



More information about the Starkit mailing list