Problem:
I’ve booted from a memory stick and my build has failed. Is there an easy way to copy the log files from the C: drive to my USB stick to help me troubleshoot the issue?
Resolution:
Yes. Simply create a file called “failed.cmd” that contains the following lines:
rd x:\failed /s /q md X:\failed cd X:\failed xcopy /e c:\minint x:\failed
NOTE: In this example “X” is the drive letter of the USB drive.
Copy this to the “\minint\system32” subdirectory on the USB key you are booting from.
If a build fails just run “failed.cmd” and the snapshot will be created in the “\failed” directory in the root of the USB key.
