2 REM Here begins emacs.bat.in
4 REM Set OS specific values.
5 set ARCH_SAVE
=%PROCESSOR_ARCHITECTURE%
6 set PROCESSOR_ARCHITECTURE
=
7 if "%ARCH_SAVE%" == "%PROCESSOR_ARCHITECTURE%" goto windows95
8 set PROCESSOR_ARCHITECTURE
=%ARCH_SAVE%
17 set EMACSLOADPATH
=%emacs_dir%\lisp
;%emacs_dir%\site
-lisp
18 set EMACSDATA
=%emacs_dir%\etc
19 set EMACSPATH
=%emacs_dir%\bin
20 set EMACSLOCKDIR
=%emacs_dir%\lock
21 set INFOPATH
=%emacs_dir%\info
22 set EMACSDOC
=%emacs_dir%\etc
25 REM The variable HOME is used to find the startup file, ~\_emacs. Ideally,
26 REM this will not be set in this file but should already be set before
27 REM this file is invoked. If HOME is not set, use some generic default.
33 if "%HOME%" == "%HOME_SAVE%" set HOME_EXISTS
=no
34 if "%HOME_EXISTS%" == "yes" set HOME
=%HOME_SAVE%
35 if "%HOME_EXISTS%" == "no" set HOME
=%HOME_DEFAULT%
36 if "%HOME_EXISTS%" == "no" echo HOME is
not set! Using
%HOME% as a default...
38 %emacs_dir%\bin\emacs.exe
%1 %2 %3 %4 %5 %6 %7 %8 %9