Dear,

Can you put your script on the board. It isn't very long.
It is possible that some comment isn't started with a ; symbol.
See your script and search for both TO statements.

The kixstrip information tells me:
- script 100 lines long
- 2 blockstructure errors found
- no labels used
- no UDF's used
- using 4 IF/ENDIF blockstructures

Your code can be:

code:

IF (Ingroup("Address") <> 0)
IF (Exist("c:\address") = 0) ; -directory doesn't exist-
MD "c:\address"
ENDIF
IF (SetFileAttr("c:\address\pogo.pab",32) <> 0) ; -remove readonly attribute-
? "Warning KIX: @error (@serror)"
ENDIF
COPY "\\servername\shared$\address\pogo.pab" "c:\address\." /H
ENDIF


to bypass the ReadOnly status of that PAB file.

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