Hi Ked,
blitzcc$ does not need to be global since it is being passed to the function as a parameter. You also only need to enclose the command line arguments with chr$(34) (and sometimes the whole command line - as you said in an earlier post) if either contains spaces, since blitzcc.exe expects spaces to be delimiters. Having created the env variable the code I posted above now works correctly.
Devils problem is probably due to him not having the environment variable set up on his system.
blitzcc$ does not need to be global since it is being passed to the function as a parameter. You also only need to enclose the command line arguments with chr$(34) (and sometimes the whole command line - as you said in an earlier post) if either contains spaces, since blitzcc.exe expects spaces to be delimiters. Having created the env variable the code I posted above now works correctly.
Devils problem is probably due to him not having the environment variable set up on his system.