Author Topic: how to make a batch file  (Read 3200 times)

Offline engravernc

  • Newbie
  • *
  • Posts: 2
Looking to see if any has made a batch file for a system that boots with no video then records bootup

Thank you

Offline fwilson

  • Hero Member
  • *****
  • Posts: 779
engravernc,

You can do that.  You would need to modify the autoexec.bat file and replace the pcdr line with something like one of the following examples.

Quick method for running 1-3 tests:
pcdr /rt:cpu&1 /rt:mem&1 /pr:b:\testlog.txt
this would run CPU test 1 memory test 1 and save the logfile to the B: drive then exit.

Overlay mode using a pdo:
pcdr /ba:03 /pr:b:\test.log.txt
This would run pcdr and all the tests saved in the overlay #3 then save the log to the B: drive and exit

The permutations are endless (almost).  Please take a look at Appendix A in the manual it lists the DOS command line switches.

You could do this on your USB key or make a custom CD.  You will need to be able to save the boot image from the distribution CD, modify it and then use the modified image to create your own customized CD   Any good CD authoring program will allow you to do this.

-Fred
“Integrity is doing the right thing, even if nobody is watching.”  ~ J.C. Watts

Offline engravernc

  • Newbie
  • *
  • Posts: 2
Thank you Fred this is what i was looking for.
Great support

Offline fwilson

  • Hero Member
  • *****
  • Posts: 779
engravernc,

You ar most welcome.

-Fred
“Integrity is doing the right thing, even if nobody is watching.”  ~ J.C. Watts