Hi Trevor,
I don't know for how long your program runs, but "process explorer" from Sysinternals lets you look at how a program was started including the whole command line. I think it is in the property dialog of a process that can be opened via context menu from the list of processes.
In the property dialog go through the tabs that are there and look around. I think it is on the image tab where the whole command line can be seen. So if you know what the name of the executable is that's doing your compilation stuff you should be all set to go and try that out.
Only problem I see is the program finishing to soon for you to have a chance to find the process and have a look at it.
Good luck!
Modification
On windows XP Professional there is a command line tool to do WMI:
http://windowsxp.mvps.org/listproc.htm[
^].
On the site above they do it like this:
WMIC /OUTPUT:C:\ProcessList.txt PROCESS get Caption,Commandline,Processid
End of modification
Best regards,
Manfred