Shell '%COMSPEC% /c "'+$program+'" /export:"'+$TMPFILE+'" /f:$bugfile'


basically, you have to watch for long file names and have them quoted properly
_________________________
How to ask questions the smart way <-----------> Before you ask