NuclearKitten
(Fresh Scripter)
2006-12-07 06:34 PM
What is wrong with this?

When this is executed, the script errors and halts.

Code:
  IF 0=EXIST('C:\Documents and Settings\@userid\Application Data\ICAClient\pn.ini')
       Color g+/n
       at (6,10) "Configuring Citrix Client, please wait...done."
       EXIT
  ENDIF
 


NuclearKitten
(Fresh Scripter)
2006-12-07 08:58 PM
Re: What is wrong with this?

nevermind. it was something so silly i'm embarrassed to admit what the problem was...

NTDOCAdministrator
(KiX Master)
2006-12-07 09:15 PM
Re: What is wrong with this?

Well that's cool but on another note you should not have the EXIT without an exit code

EXIT 0

Would be better if you even needed the exit at all.