[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua For Windows v5.1.3.3 Public Alpha2 released
- From: Hans Hagen <pragma@...>
- Date: Mon, 19 May 2008 16:59:55 +0200
Stephen Kellett wrote:
An alternative approach to setting the file assocations (which I don't
know will work) would be to write an exe that takes command line
arguments and sets the file associations itself. It would do this by
bumping up its privileges high enough to be able to modify the registry.
Not sure if this is possible, it works for seDebug (DEBUG) privilege,
but not sure it works for others.
can be done in a cmd file:
FTYPE RubyScript=c:\data\system\ruby\bin\ruby.exe %%1 %%*
FTYPE PerlScript=c:\data\system\perl\bin\perl.exe %%1 %%*
FTYPE PythonScript=c:\data\system\python\bin\python.exe %%1 %%*
FTYPE LuaScript=c:\data\system\lua\bin\lua.exe %%1 %%*
ASSOC .rb=RubyScript
ASSOC .rbw=RubyScript
ASSOC .pl=PerlScript
ASSOC .py=PythonScript
ASSOC .lua=LuaScript
ASSOC .luc=LuaScript
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------