Yes... well I think I have. I added the above code and it is nto putting anything out for ScriptDir... but it works just fine in a non-crypted script when I call

C:\KixDev\Kix32.exe C:\KixDev\Script.kix

So I think I am right.. but I am the first to admit I dont know everything..
_________________________
Austin Henderson