diff options
author | Geoff Voelker <voelker@cs.washington.edu> | 1997-08-09 02:53:48 +0000 |
---|---|---|
committer | Geoff Voelker <voelker@cs.washington.edu> | 1997-08-09 02:53:48 +0000 |
commit | 16446423378b9e4cdf6008c537be3407a8908809 (patch) | |
tree | 7076eadf0b8e8aaed4d852896786753f55e0c875 /nt/debug.bat | |
parent | 1966dfae002703012c3f5505fb96ce19dcfca5dd (diff) | |
download | emacs-16446423378b9e4cdf6008c537be3407a8908809.tar.gz |
Initial revision
Diffstat (limited to 'nt/debug.bat')
-rw-r--r-- | nt/debug.bat | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/nt/debug.bat b/nt/debug.bat new file mode 100644 index 00000000000..1cb3a85cfc2 --- /dev/null +++ b/nt/debug.bat @@ -0,0 +1,40 @@ +@echo off
+set emacs_dir=c:\emacs
+
+REM Here begins emacs.bat.in
+
+REM Set OS specific values.
+set ARCH_SAVE=%PROCESSOR_ARCHITECTURE%
+set PROCESSOR_ARCHITECTURE=
+if "%ARCH_SAVE%" == "%PROCESSOR_ARCHITECTURE%" goto win95
+set PROCESSOR_ARCHITECTURE=%ARCH_SAVE%
+set SHELL=cmd
+goto next
+
+:win95
+set SHELL=command
+
+:next
+
+set EMACSLOADPATH=%emacs_dir%\lisp
+set EMACSDATA=%emacs_dir%\etc
+set EMACSPATH=%emacs_dir%\bin
+set EMACSLOCKDIR=%emacs_dir%\lock
+set INFOPATH=%emacs_dir%\info
+set EMACSDOC=%emacs_dir%\etc
+set TERM=CMD
+
+REM The variable HOME is used to find the startup file, ~\_emacs. Ideally,
+REM this will not be set in this file but should already be set before
+REM this file is invoked. If HOME is not set, use some generic default.
+
+set HOME_SAVE=%HOME%
+set HOME_EXISTS=yes
+set HOME_DEFAULT=C:\
+set HOME=
+if "%HOME%" == "%HOME_SAVE%" set HOME_EXISTS=no
+if "%HOME_EXISTS%" == "yes" set HOME=%HOME_SAVE%
+if "%HOME_EXISTS%" == "no" set HOME=%HOME_DEFAULT%
+if "%HOME_EXISTS%" == "no" echo HOME is not set! Using %HOME% as a default...
+
+start c:\msdev\bin\msdev -nologo %emacs_dir%\bin\emacs.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
|