Dear,

We have replace your USE statement with individual ones.
New version:
code:
 cls
settime "\\obc4"
? "Verifying / Updating Script Software Installation, Please Wait..."
IF (Len(@homedir) <> "")
IF (Exist("H:\.") = 1)
USE H: /delete /persistent
ENDIF
USE H: @homedir
ELSE
$null=Message("Your home drive can be mapped. please call your helpdesk","KiXtart @kix")
ENDIF
IF (Exist("H:\.") = 1)
USE P: /delete /persistent
ENDIF
USE P: "\\obc4\public"
;
:printers
IF (AddPrinterConnection("\\obc4\hplaserjet5") <> 0)
? "Warning KIX: error during printer installation. error @error (@error)"
ENDIF
:end

greetings.
_________________________
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