-
Notifications
You must be signed in to change notification settings - Fork 36
/
ntswitch.cmd
45 lines (33 loc) · 842 Bytes
/
ntswitch.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@echo off
REM ///////////////////////////////////////////////////////////////////////////
REM ntswitch.cmd
REM ///////////////////////////////////////////////////////////////////////////
REM //
REM // Verify that the script is running under the sizzle environment.
REM //
if [%NTROOT%] equ [] (
echo You must run this script under the sizzle environment.
goto End
)
REM //
REM // Verify arguments.
REM //
if [%1] equ [] (
echo You must specify build arch.
goto End
)
if [%2] equ [] (
echo You must specify build type.
goto End
)
REM //
REM // Re-initialise the sizzle environment.
REM //
call ntenv.cmd %NTREPO% %NTROOT% %NTBINROOT% %1 %2
REM //
REM // Set window and prompt style.
REM //
title NTOSBE: %NTTARGET% [%NTROOT%]
prompt [%COMPUTERNAME%: %USERNAME% // %NTTARGET%] $d$s$t$_$p$_$_$+$g
echo.
:End