2 rem Run temacs.exe to recreate the dumped emacs.exe.
\r
3 rem This is only likely to be useful on systems where the prebuilt
\r
4 rem emacs.exe crashes on startup.
\r
6 rem First save original emacs.exe if present
\r
7 if exist emacs.exe.orig goto dump
\r
8 echo Saving original emacs.exe as emacs.exe.orig
\r
9 ren emacs.exe emacs.exe.orig
\r
12 rem Overwrites emacs.exe if still present
\r
16 copy ..\etc\DOC* obj\etc
\r
17 copy temacs.exe obj\i386
\r
18 obj\i386\temacs -batch -l loadup dump
\r
19 copy obj\i386\emacs.exe .
\r
22 arch-tag: 0ca3036d-3a1e-47ea-87c6-9c0845253496