If I don't have the sleep command in there, the window just opens up and closes, when I add the sleep command, it just brings up a black screen and returns no info. When I add those @ERROR commands in front of the $z = Dir( command, I get an error code of 2 and then the script sleeps, and exits.

Edit: It's morning here in Iraq and I'm going to sleep. Just fyi Shawn in case you keep looking at this. I'll readdress later this afternoon.


Edited by thepip3r (2006-02-08 06:24 AM)