That's odd - "Personal" is declared implicitly in the function definition.

Also, try
 Code:
	if not exist($personal)

The "(" should immediatly follow the function name (not strictly required in Kix, but is in most other languages), and the $Personal should not be inside quotes.

Another concern is the "Icons$\" - I know it's a hidden share name, but kix could interpret it unless you set the NoVarsInStrings option.
 Code:
$ = SetOption('NoVarsInStrings', 'On')

This tells kix to ignore the presense of "$" inside quoted strings.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D