2 set emacs_dir=c:\emacs
\r
4 REM Here begins emacs.bat.in
\r
6 REM Set OS specific values.
\r
7 set ARCH_SAVE=%PROCESSOR_ARCHITECTURE%
\r
8 set PROCESSOR_ARCHITECTURE=
\r
9 if "%ARCH_SAVE%" == "%PROCESSOR_ARCHITECTURE%" goto win95
\r
10 set PROCESSOR_ARCHITECTURE=%ARCH_SAVE%
\r
19 set EMACSLOADPATH=%emacs_dir%\lisp
\r
20 set EMACSDATA=%emacs_dir%\etc
\r
21 set EMACSPATH=%emacs_dir%\bin
\r
22 set EMACSLOCKDIR=%emacs_dir%\lock
\r
23 set INFOPATH=%emacs_dir%\info
\r
24 set EMACSDOC=%emacs_dir%\etc
\r
27 REM The variable HOME is used to find the startup file, ~\_emacs. Ideally,
\r
28 REM this will not be set in this file but should already be set before
\r
29 REM this file is invoked. If HOME is not set, use some generic default.
\r
31 set HOME_SAVE=%HOME%
\r
33 set HOME_DEFAULT=C:\
\r
35 if "%HOME%" == "%HOME_SAVE%" set HOME_EXISTS=no
\r
36 if "%HOME_EXISTS%" == "yes" set HOME=%HOME_SAVE%
\r
37 if "%HOME_EXISTS%" == "no" set HOME=%HOME_DEFAULT%
\r
38 if "%HOME_EXISTS%" == "no" echo HOME is not set! Using %HOME% as a default...
\r
40 start c:\msdev\bin\msdev -nologo %emacs_dir%\bin\emacs.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
\r