Well... there's gotta be a typo somewhere in your code. It shouldn't return anyting to the console. Just to verify, copy paste the following into a separate file and run it.

code:
  
break on
If GetFileATTR("c:\winnt\system") & 16
"It's a folder" ?
endif
Get $_

BTW, what version of KiX and OS?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.