#80916 - 2002-06-12 04:04 PM
Re: What about @COMMANDLINE?
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
so then wouldn't you have @commandline being an array
kix32 script.kix kixtart x -y "c:\test.txt"
@commandline[0]=script.kix @commandline[1]=kixtart @commandline[2]=x @commandline[3]=-y @commandline[4]=c:\test.txt
|
|
Top
|
|
|
|
#80917 - 2002-06-12 04:07 PM
Re: What about @COMMANDLINE?
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
code:
$kix="HKEY_CLASSES_ROOT\.KIX" $kixautofile="HKEY_CLASSES_ROOT\KIX_auto_file" Addkey("$kix") writevalue("$kix","","KIX_auto_file",REG_SZ) Addkey("$kixautofile") writevalue("$kixautofile","","KiXtart Script",REG_SZ) writevalue("$kixautofile","EditFlags","0",REG_SZ) Addkey("$kixautofile\DefaultIcon") writevalue("$kixautofile\DefaultIcon","","%windir%\system32\SHELL32.dll,21",REG_EXPAND_SZ) Addkey("$kixautofile\shell") writevalue("$kixautofile\shell","","Run",REG_SZ) Addkey("$kixautofile\shell\Edit") Addkey("$kixautofile\shell\Edit\command") writevalue("$kixautofile\shell\Edit\command","","%windir%\notepad.exe %1",REG_EXPAND_SZ) Addkey("$kixautofile\shell\Run") Addkey("$kixautofile\shell\Run\command") writevalue("$kixautofile\shell\Run\command","","%windir%\kix32.exe %1",REG_EXPAND_SZ)
|
|
Top
|
|
|
|
Moderator: Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 2630 anonymous users online.
|
|
|