What are $vc6cmd and $bldcheck, and why are you stuffing them into an array? I'm guessing (swag) that one is a console program, one is a windows program (which may or may not display a window). Second question, is this a CGI?
I'm thinking (this time an educated guess) that this is a permissions problem. The user this script is running under doesn't have execute access to cmd.exe.