Dear,

With our tool kixstrip which you can find on our site it
is very easily to find f.e. missing quotations.
Documentation is also available.

After our call: kixstrip input.kix output.kix /block_check
code:
 $servpk = readvalue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion","CSDVersion")
IF $servpk = "Service Pack 2"
? "Service Pack 2 installed."
GOSUB testie6
ELSE
SHELL '%COMSPEC% /c \\serv4\it$$\Install\ServicePacks\Win2kSP2\i386\update\update.exe /u /f /n
ENDIF

:testie6
IF EXIST ("c:\program files\Internet explorer\custom\inetset.inf")
? "IE6 Already installed"
GOSUB end
ELSE
SHELL '%COMSPEC% /c \\serv4\distro\IE6\FLAT\WIN32\EN\ie6setup.exe
ENDIF

:end
? "test end"
EXIT

;($begin)
;
; tue 03-dec-2002 06:02:25 (kix 4.10 vs 3.20e)
;
;Warning KIXSTRIP: 2 lines are incompleted.
; rerun program with option "/block_check /show_errors".
;Warning KIXSTRIP: some lines contains errors or possible errors.
; 2 line incomplete "single quotation".
; 2 line incompleted.
;Informative KIXSTRIP: 2 block_structures found.
;Informative KIXSTRIP: no UDF's found.
;Informative KIXSTRIP: 2 labels found.
;Summary KIXSTRIP: BREAK CALL DEBUG DISPLAY ENDFUNCTION EXECUTE EXIT FUNCTION GET GETS GOSUB GOTO OLExxx PLAY QUIT RETURN RUN SHELL SLEEP THEN USE
;Informative KIXSTRIP: 1 EXIT
;Informative KIXSTRIP: 2 GOSUB
;Informative KIXSTRIP: 2 SHELL
;
;($end)
;($begin)
;
;Warning KIXSTRIP: 6, 14 line incomplete "single quotation".
;Warning KIXSTRIP: 6, 14 line incompleted.
;
;($end)

it shows two error situations in your script. In both cases it was related to your SHELL
calls.
greetings.

btw: symbol  - on our homepage has been linked to related http://kixtart.org topic.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA