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
14 copy fns* ..\lib-src
\r
18 copy ..\etc\DOC* obj\etc
\r
19 copy temacs.exe obj\i386
\r
20 obj\i386\temacs -batch -l loadup dump
\r
21 copy obj\i386\emacs.exe .
\r