Merge from emacs-24; up to 2012-12-27T08:21:08Z!rgm@gnu.org
[bpt/emacs.git] / admin / nt / dump.bat
CommitLineData
31098a38
AI
1@echo off\r
2rem Run temacs.exe to recreate the dumped emacs.exe.\r
3rem This is only likely to be useful on systems where the prebuilt\r
4rem emacs.exe crashes on startup.\r
5\r
6rem First save original emacs.exe if present\r
7if exist emacs.exe.orig goto dump\r
8echo Saving original emacs.exe as emacs.exe.orig\r
9ren emacs.exe emacs.exe.orig\r
10\r
11:dump\r
12rem Overwrites emacs.exe if still present\r
31098a38
AI
13mkdir obj\r
14mkdir obj\i386\r
15mkdir obj\etc\r
16copy ..\etc\DOC* obj\etc\r
17copy temacs.exe obj\i386\r
18obj\i386\temacs -batch -l loadup dump\r
19copy obj\i386\emacs.exe .\r
295b47d8 20\r