view admin/nt/dump.bat @ 40433:3f11c065fa9e

(XTread_socket) <KeyPress>: Don't use STRING_CHAR_AND_LENGTH if nchars == nbytes. From Kenichi Handa <handa@etl.go.jp>.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 29 Oct 2001 09:44:31 +0000
parents dc12250ba65b
children 695cf19ef79e
line wrap: on
line source

@echo off
rem  Run temacs.exe to recreate the dumped emacs.exe.
rem  This is only likely to be useful on systems where the prebuilt
rem  emacs.exe crashes on startup.

rem First save original emacs.exe if present
if exist emacs.exe.orig goto dump
echo Saving original emacs.exe as emacs.exe.orig
ren emacs.exe emacs.exe.orig

:dump
rem Overwrites emacs.exe if still present
mkdir ..\lib-src
copy fns* ..\lib-src
mkdir obj
mkdir obj\i386
mkdir obj\etc
copy ..\etc\DOC* obj\etc
copy temacs.exe obj\i386
obj\i386\temacs -batch -l loadup dump
copy obj\i386\emacs.exe .