summaryrefslogtreecommitdiffstats
path: root/public/oak/bin/mkhivecr.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/oak/bin/mkhivecr.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/oak/bin/mkhivecr.cmd')
-rw-r--r--public/oak/bin/mkhivecr.cmd12
1 files changed, 12 insertions, 0 deletions
diff --git a/public/oak/bin/mkhivecr.cmd b/public/oak/bin/mkhivecr.cmd
new file mode 100644
index 000000000..a18347f0a
--- /dev/null
+++ b/public/oak/bin/mkhivecr.cmd
@@ -0,0 +1,12 @@
+@chmode -r system. software. default.
+@call mkhives RETAIL CAIRO
+@echo off
+if not "%_CAIROPPCTREE%" == "" set HIVE_TARGET=%_CAIROPPCTREE% && goto doit
+if not "%_CAIROALPHATREE%" == "" set HIVE_TARGET=%_CAIROALPHATREE% && goto doit
+if not "%_CAIROMIPSTREE%" == "" set HIVE_TARGET=%_CAIROMIPSTREE% && goto doit
+if not "%_CAIRO386TREE%" == "" set HIVE_TARGET=%_CAIRO386TREE% && goto doit
+rem else assume user doesn't want 'em binplaced
+goto end
+:doit
+binplace -r %HIVE_TARGET% system software default userdiff setupreg.hiv setupupg.hiv
+:end