summaryrefslogtreecommitdiffstats
path: root/public/tools/razzle.cmd
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /public/tools/razzle.cmd
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'public/tools/razzle.cmd')
-rw-r--r--public/tools/razzle.cmd37
1 files changed, 37 insertions, 0 deletions
diff --git a/public/tools/razzle.cmd b/public/tools/razzle.cmd
new file mode 100644
index 000000000..46b892b14
--- /dev/null
+++ b/public/tools/razzle.cmd
@@ -0,0 +1,37 @@
+
+:START
+goto SET_BINARIES_DIR
+
+ if "%PROCESSOR_ARCHITECTURE%" == "ALPHA" set USERNAME=alphafre
+ if "%PROCESSOR_ARCHITECTURE%" == "MIPS" set USERNAME=mipsfre
+ if "%PROCESSOR_ARCHITECTURE%" == "PPC" set USERNAME=ppcfre
+ if "%PROCESSOR_ARCHITECTURE%" == "x86" set USERNAME=x86fre
+
+ if "%PROCESSOR_ARCHITECTURE%" == "ALPHA" set LOGNAME=HALPHAFIX
+ if "%PROCESSOR_ARCHITECTURE%" == "MIPS" set LOGNAME=HMIPSFIX
+ if "%PROCESSOR_ARCHITECTURE%" == "PPC" set LOGNAME=HPPCFIX
+ if "%PROCESSOR_ARCHITECTURE%" == "x86" set LOGNAME=HX86FIX
+
+ set PATH=%PATH%;W:\mstools.nt40;W:\idw.nt40
+
+ set _NTDRIVE=
+ if "%1" == "main" set _NTDRIVE=W:
+ if "%1" == "hotfix_free" set _NTDRIVE=U:
+ if "%1" == "hotfix_checked" set _NTDRIVE=V:
+ if not "%_NTDRIVE%" == "" goto SET_BINARIES_DIR
+ echo !!! missing parameter 'main', 'hotfix_free' or 'hotfix_checked'
+ pause
+ goto END
+
+:SET_BINARIES_DIR
+
+ rem shift
+
+ if "%PROCESSOR_ARCHITECTURE%" == "ALPHA" set _ntALPHAboot=%_ntdrive%\binaries
+ if "%PROCESSOR_ARCHITECTURE%" == "MIPS" set _ntMIPSboot=%_ntdrive%\binaries
+ if "%PROCESSOR_ARCHITECTURE%" == "PPC" set _ntPPCboot=%_ntdrive%\binaries
+ if "%PROCESSOR_ARCHITECTURE%" == "x86" set _nt386boot=%_ntdrive%\binaries
+
+ cmd /K %_NTDRIVE%\NT\PUBLIC\TOOLS\ntenv.cmd %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+:END