1 | @echo off
|
---|
2 | rem $Id: PackDriversForSubmission.cmd 83532 2020-04-03 14:25:39Z vboxsync $
|
---|
3 | rem rem @file
|
---|
4 | rem Windows NT batch script for preparing for signing submission.
|
---|
5 | rem
|
---|
6 |
|
---|
7 | rem
|
---|
8 | rem Copyright (C) 2018-2020 Oracle Corporation
|
---|
9 | rem
|
---|
10 | rem This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
11 | rem available from http://www.virtualbox.org. This file is free software;
|
---|
12 | rem you can redistribute it and/or modify it under the terms of the GNU
|
---|
13 | rem General Public License (GPL) as published by the Free Software
|
---|
14 | rem Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
15 | rem VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
16 | rem hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
17 | rem
|
---|
18 |
|
---|
19 |
|
---|
20 | setlocal ENABLEEXTENSIONS
|
---|
21 | setlocal
|
---|
22 |
|
---|
23 | rem
|
---|
24 | rem Parse arguments.
|
---|
25 | rem
|
---|
26 | set _MY_OPT_BINDIR=..\bin
|
---|
27 | set _MY_OPT_PDBDIR=
|
---|
28 | set _MY_OPT_GADIR=
|
---|
29 | set _MY_OPT_WITH_MAIN=1
|
---|
30 | set _MY_OPT_WITH_PDB=1
|
---|
31 | set _MY_OPT_EXTPACK=
|
---|
32 | set _MY_OPT_WITH_EXTPACK=1
|
---|
33 | set _MY_OPT_WITH_GA=0
|
---|
34 | set _MY_OPT_OUTPUT=
|
---|
35 | set _MY_OPT_DDF_FILE=
|
---|
36 | set _MY_OPT_ARCH=amd64
|
---|
37 |
|
---|
38 | :argument_loop
|
---|
39 | if ".%1" == "." goto no_more_arguments
|
---|
40 |
|
---|
41 | if ".%1" == ".-h" goto opt_h
|
---|
42 | if ".%1" == ".-?" goto opt_h
|
---|
43 | if ".%1" == "./h" goto opt_h
|
---|
44 | if ".%1" == "./H" goto opt_h
|
---|
45 | if ".%1" == "./?" goto opt_h
|
---|
46 | if ".%1" == ".-help" goto opt_h
|
---|
47 | if ".%1" == ".--help" goto opt_h
|
---|
48 |
|
---|
49 | if ".%1" == ".-a" goto opt_a
|
---|
50 | if ".%1" == ".--arch" goto opt_a
|
---|
51 | if ".%1" == ".-b" goto opt_b
|
---|
52 | if ".%1" == ".--bindir" goto opt_b
|
---|
53 | if ".%1" == ".-d" goto opt_d
|
---|
54 | if ".%1" == ".--ddf" goto opt_d
|
---|
55 | if ".%1" == ".-e" goto opt_e
|
---|
56 | if ".%1" == ".--extpack" goto opt_e
|
---|
57 | if ".%1" == ".--no-main" goto opt_m
|
---|
58 | if ".%1" == ".-n" goto opt_n
|
---|
59 | if ".%1" == ".--no-pdb" goto opt_n
|
---|
60 | if ".%1" == ".-o" goto opt_o
|
---|
61 | if ".%1" == ".--output" goto opt_o
|
---|
62 | if ".%1" == ".-p" goto opt_p
|
---|
63 | if ".%1" == ".--pdb" goto opt_p
|
---|
64 | if ".%1" == ".-x" goto opt_x
|
---|
65 | if ".%1" == ".--no-extpack" goto opt_x
|
---|
66 | if ".%1" == ".-g" goto opt_g
|
---|
67 | if ".%1" == ".--ga" goto opt_g
|
---|
68 | if ".%1" == ".--additions" goto opt_g
|
---|
69 | echo syntax error: Unknown option: %1
|
---|
70 | echo Try --help to list valid options.
|
---|
71 | goto end_failed
|
---|
72 |
|
---|
73 | :argument_loop_next_with_value
|
---|
74 | shift
|
---|
75 | shift
|
---|
76 | goto argument_loop
|
---|
77 |
|
---|
78 | :opt_a
|
---|
79 | if ".%~2" == "." goto syntax_error_missing_value
|
---|
80 | if not "%2" == "x86" if not "%2" == "amd64" goto syntax_error_unknown_arch
|
---|
81 | set _MY_OPT_ARCH=%~2
|
---|
82 | goto argument_loop_next_with_value
|
---|
83 |
|
---|
84 | :opt_b
|
---|
85 | if ".%~2" == "." goto syntax_error_missing_value
|
---|
86 | set _MY_OPT_BINDIR=%~2
|
---|
87 | goto argument_loop_next_with_value
|
---|
88 |
|
---|
89 | :opt_d
|
---|
90 | if ".%~2" == "." goto syntax_error_missing_value
|
---|
91 | set _MY_OPT_DDF_FILE=%~2
|
---|
92 | goto argument_loop_next_with_value
|
---|
93 |
|
---|
94 | :opt_e
|
---|
95 | if ".%~2" == "." goto syntax_error_missing_value
|
---|
96 | set _MY_OPT_EXTPACK=%~2
|
---|
97 | goto argument_loop_next_with_value
|
---|
98 |
|
---|
99 | :opt_h
|
---|
100 | echo This script creates a .cab file containing all drivers needing blessing from
|
---|
101 | echo Microsoft to run on recent Windows 10 installations.
|
---|
102 | echo .
|
---|
103 | echo Usage: PackDriversForSubmission.cmd [-b bindir] [-p pdbdir] [--no-main] [-n/--no-pdb] [-e expack]
|
---|
104 | echo [-x/--no-extpack] [-g/--ga/--additions] [-o output.cab] [-p output.ddf] [-a x86/amd64]
|
---|
105 | echo .
|
---|
106 | echo Warning! This script should normally be invoked from the repack directory w/o any parameters.
|
---|
107 | goto end_failed
|
---|
108 |
|
---|
109 | :opt_m
|
---|
110 | set _MY_OPT_WITH_MAIN=0
|
---|
111 | shift
|
---|
112 | goto argument_loop
|
---|
113 |
|
---|
114 | :opt_n
|
---|
115 | set _MY_OPT_WITH_PDB=0
|
---|
116 | shift
|
---|
117 | goto argument_loop
|
---|
118 |
|
---|
119 | :opt_p
|
---|
120 | if ".%~2" == "." goto syntax_error_missing_value
|
---|
121 | set _MY_OPT_PDBDIR=%~2
|
---|
122 | goto argument_loop_next_with_value
|
---|
123 |
|
---|
124 | :opt_o
|
---|
125 | if ".%~2" == "." goto syntax_error_missing_value
|
---|
126 | set _MY_OPT_OUTPUT=%~2
|
---|
127 | goto argument_loop_next_with_value
|
---|
128 |
|
---|
129 | :opt_x
|
---|
130 | set _MY_OPT_WITH_EXTPACK=0
|
---|
131 | shift
|
---|
132 | goto argument_loop
|
---|
133 |
|
---|
134 | :opt_g
|
---|
135 | set _MY_OPT_WITH_GA=1
|
---|
136 | shift
|
---|
137 | goto argument_loop
|
---|
138 |
|
---|
139 |
|
---|
140 | :syntax_error_missing_value
|
---|
141 | echo syntax error: missing or empty option value after %1
|
---|
142 | goto end_failed
|
---|
143 |
|
---|
144 | :syntax_error_unknown_arch
|
---|
145 | echo syntax error: Unknown architecture: %2
|
---|
146 | goto end_failed
|
---|
147 |
|
---|
148 | :error_bindir_does_not_exist
|
---|
149 | echo syntax error: Specified BIN directory does not exist: "%_MY_OPT_BINDIR%"
|
---|
150 | goto end_failed
|
---|
151 |
|
---|
152 | :error_pdbdir_does_not_exist
|
---|
153 | echo syntax error: Specified PDB directory does not exist: "%_MY_OPT_PDBDIR%"
|
---|
154 | goto end_failed
|
---|
155 |
|
---|
156 | :error_extpack_does_not_exist
|
---|
157 | echo syntax error: Specified extension pack does not exist: "%_MY_OPT_EXTPACK%"
|
---|
158 | goto end_failed
|
---|
159 |
|
---|
160 | :error_additions_does_not_exist
|
---|
161 | echo syntax error: Specified guest additions does not exist: "%_MY_OPT_GADIR%"
|
---|
162 | goto end_failed
|
---|
163 |
|
---|
164 |
|
---|
165 | :error_output_exists
|
---|
166 | echo error: The output file already exist: "%_MY_OPT_OUTPUT%"
|
---|
167 | goto end_failed
|
---|
168 |
|
---|
169 | :error_ddf_exists
|
---|
170 | echo error: The DDF file already exist: "%_MY_OPT_DDF_FILE%"
|
---|
171 | goto end_failed
|
---|
172 |
|
---|
173 | :no_more_arguments
|
---|
174 | rem validate specified options
|
---|
175 | if not exist "%_MY_OPT_BINDIR%" goto error_bindir_does_not_exist
|
---|
176 |
|
---|
177 | if "%_MY_OPT_WITH_PDB%" == "0" goto no_pdbdir_validation
|
---|
178 | if ".%_MY_OPT_PDBDIR%" == "." set _MY_OPT_PDBDIR=%_MY_OPT_BINDIR%\..\stage\debug\bin
|
---|
179 | if not exist "%_MY_OPT_PDBDIR%" goto error_pdbdir_does_not_exist
|
---|
180 | :no_pdbdir_validation
|
---|
181 |
|
---|
182 | if "%_MY_OPT_WITH_EXTPACK%" == "0" goto no_extpack_validation
|
---|
183 | if ".%_MY_OPT_EXTPACK%" == "." set _MY_OPT_EXTPACK=%_MY_OPT_BINDIR%\Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack
|
---|
184 | if not exist "%_MY_OPT_EXTPACK%" goto error_extpack_does_not_exist
|
---|
185 | :no_extpack_validation
|
---|
186 |
|
---|
187 | if "%_MY_OPT_WITH_GA%" == "0" goto no_additions_validation
|
---|
188 | if ".%_MY_OPT_GADIR%" == "." set _MY_OPT_GADIR=%_MY_OPT_BINDIR%\additions
|
---|
189 | if not exist "%_MY_OPT_GADIR%" goto error_additions_does_not_exist
|
---|
190 | :no_additions_validation
|
---|
191 |
|
---|
192 | if ".%_MY_OPT_OUTPUT%" == "." set _MY_OPT_OUTPUT=VBoxDrivers-@VBOX_VERSION_STRING@r@VBOX_SVN_REV@-%_MY_OPT_ARCH%.cab
|
---|
193 | if exist "%_MY_OPT_OUTPUT%" goto error_output_exists
|
---|
194 |
|
---|
195 | if ".%_MY_OPT_DDF_FILE%" == "." set _MY_OPT_DDF_FILE=%_MY_OPT_OUTPUT%.ddf
|
---|
196 | if exist "%_MY_OPT_DDF_FILE%" goto error_ddf_exists
|
---|
197 |
|
---|
198 |
|
---|
199 | rem
|
---|
200 | rem Unpack the extension pack.
|
---|
201 | rem We unpack it into the bin directory in the usual location.
|
---|
202 | rem
|
---|
203 | rem Note! Modify the path a little to ensure windows utilities are used before
|
---|
204 | rem cygwin ones, and that we can use stuff from bin\tools if we like.
|
---|
205 | rem
|
---|
206 | set PATH=%SystemRoot%\System32;%PATH%;%_MY_OPT_BINDIR%
|
---|
207 | if "%_MY_OPT_WITH_EXTPACK%" == "0" goto no_extpack_unpack
|
---|
208 | set _MY_EXTPACK_DIR=%_MY_OPT_BINDIR%\ExtensionPacks\Oracle_VM_VirtualBox_Extension_Pack
|
---|
209 | if not exist "%_MY_OPT_BINDIR%\ExtensionPacks" ( mkdir "%_MY_OPT_BINDIR%\ExtensionPacks" || goto end_failed )
|
---|
210 | if not exist "%_MY_EXTPACK_DIR%" ( mkdir "%_MY_EXTPACK_DIR%" || goto end_failed )
|
---|
211 | "%_MY_OPT_BINDIR%\tools\RTTar.exe" -xzf "%_MY_OPT_EXTPACK%" -C "%_MY_EXTPACK_DIR%" || goto end_failed
|
---|
212 | :no_extpack_unpack
|
---|
213 |
|
---|
214 | rem
|
---|
215 | rem Create the DDF file for makecab.
|
---|
216 | rem
|
---|
217 | echo .OPTION EXPLICIT> "%_MY_OPT_DDF_FILE%" || goto end_failed
|
---|
218 | echo .Set CabinetFileCountThreshold=0 >> "%_MY_OPT_DDF_FILE%"
|
---|
219 | echo .Set FolderFileCountThreshold=0 >> "%_MY_OPT_DDF_FILE%"
|
---|
220 | echo .Set FolderSizeThreshold=0 >> "%_MY_OPT_DDF_FILE%"
|
---|
221 | echo .Set MaxCabinetSize=0 >> "%_MY_OPT_DDF_FILE%"
|
---|
222 | echo .Set MaxDiskFileCount=0 >> "%_MY_OPT_DDF_FILE%"
|
---|
223 | echo .Set MaxDiskSize=0 >> "%_MY_OPT_DDF_FILE%"
|
---|
224 | echo .Set Cabinet=on>> "%_MY_OPT_DDF_FILE%"
|
---|
225 | echo .Set CompressionType=MSZIP>> "%_MY_OPT_DDF_FILE%"
|
---|
226 | echo .Set Compress=on>> "%_MY_OPT_DDF_FILE%"
|
---|
227 | echo .Set DiskDirectoryTemplate= >> "%_MY_OPT_DDF_FILE%"
|
---|
228 | echo .Set CabinetNameTemplate=%_MY_OPT_OUTPUT%>> "%_MY_OPT_DDF_FILE%"
|
---|
229 | echo .Set InfFileName=%_MY_OPT_OUTPUT%.inf>> "%_MY_OPT_DDF_FILE%"
|
---|
230 | echo .Set RptFileName=%_MY_OPT_OUTPUT%.rpt>> "%_MY_OPT_DDF_FILE%"
|
---|
231 |
|
---|
232 | if %_MY_OPT_WITH_MAIN% == 0 goto skip_main_package
|
---|
233 | echo .Set DestinationDir=VBoxDrv>> "%_MY_OPT_DDF_FILE%"
|
---|
234 | echo %_MY_OPT_BINDIR%\VBoxDrv.inf VBoxDrv.inf>> "%_MY_OPT_DDF_FILE%"
|
---|
235 | echo %_MY_OPT_BINDIR%\VBoxDrv.sys VBoxDrv.sys>> "%_MY_OPT_DDF_FILE%"
|
---|
236 | if "%_MY_OPT_WITH_PDB%" == "1" echo %_MY_OPT_PDBDIR%\VBoxDrv.pdb VBoxDrv.pdb>> "%_MY_OPT_DDF_FILE%"
|
---|
237 |
|
---|
238 | echo .Set DestinationDir=VBoxNetAdp6>> "%_MY_OPT_DDF_FILE%"
|
---|
239 | echo %_MY_OPT_BINDIR%\VBoxNetAdp6.inf VBoxNetAdp6.inf>> "%_MY_OPT_DDF_FILE%"
|
---|
240 | echo %_MY_OPT_BINDIR%\VBoxNetAdp6.sys VBoxNetAdp6.sys>> "%_MY_OPT_DDF_FILE%"
|
---|
241 | if "%_MY_OPT_WITH_PDB%" == "1" echo %_MY_OPT_PDBDIR%\VBoxNetAdp6.pdb VBoxNetAdp6.pdb>> "%_MY_OPT_DDF_FILE%"
|
---|
242 |
|
---|
243 | echo .Set DestinationDir=VBoxNetLwf>> "%_MY_OPT_DDF_FILE%"
|
---|
244 | echo %_MY_OPT_BINDIR%\VBoxNetLwf.inf VBoxNetLwf.inf>> "%_MY_OPT_DDF_FILE%"
|
---|
245 | echo %_MY_OPT_BINDIR%\VBoxNetLwf.sys VBoxNetLwf.sys>> "%_MY_OPT_DDF_FILE%"
|
---|
246 | if "%_MY_OPT_WITH_PDB%" == "1" echo %_MY_OPT_PDBDIR%\VBoxNetLwf.pdb VBoxNetLwf.pdb>> "%_MY_OPT_DDF_FILE%"
|
---|
247 |
|
---|
248 | echo .Set DestinationDir=VBoxUSB>> "%_MY_OPT_DDF_FILE%"
|
---|
249 | echo %_MY_OPT_BINDIR%\VBoxUSB.inf VBoxUSB.inf>> "%_MY_OPT_DDF_FILE%"
|
---|
250 | echo %_MY_OPT_BINDIR%\VBoxUSB.sys VBoxUSB.sys>> "%_MY_OPT_DDF_FILE%"
|
---|
251 | if "%_MY_OPT_WITH_PDB%" == "1" echo %_MY_OPT_PDBDIR%\VBoxUSB.pdb VBoxUSB.pdb>> "%_MY_OPT_DDF_FILE%"
|
---|
252 |
|
---|
253 | echo .Set DestinationDir=VBoxUSBMon>> "%_MY_OPT_DDF_FILE%"
|
---|
254 | echo %_MY_OPT_BINDIR%\VBoxUSBMon.inf VBoxUSBMon.inf>> "%_MY_OPT_DDF_FILE%"
|
---|
255 | echo %_MY_OPT_BINDIR%\VBoxUSBMon.sys VBoxUSBMon.sys>> "%_MY_OPT_DDF_FILE%"
|
---|
256 | if "%_MY_OPT_WITH_PDB%" == "1" echo %_MY_OPT_PDBDIR%\VBoxUSBMon.pdb VBoxUSBMon.pdb>> "%_MY_OPT_DDF_FILE%"
|
---|
257 |
|
---|
258 | echo .Set DestinationDir=VMMR0>> "%_MY_OPT_DDF_FILE%"
|
---|
259 | echo .\VMMR0.inf VMMR0.inf>> "%_MY_OPT_DDF_FILE%"
|
---|
260 | echo %_MY_OPT_BINDIR%\VMMR0.r0 VMMR0.r0>> "%_MY_OPT_DDF_FILE%"
|
---|
261 | if "%_MY_OPT_WITH_PDB%" == "1" echo %_MY_OPT_PDBDIR%\VMMR0.pdb VMMR0.pdb>> "%_MY_OPT_DDF_FILE%"
|
---|
262 | echo %_MY_OPT_BINDIR%\VBoxDDR0.r0 VBoxDDR0.r0>> "%_MY_OPT_DDF_FILE%"
|
---|
263 | :skip_main_package
|
---|
264 |
|
---|
265 | if "%_MY_OPT_WITH_PDB%" == "1" echo %_MY_OPT_PDBDIR%\VBoxDDR0.pdb VBoxDDR0.pdb>> "%_MY_OPT_DDF_FILE%"
|
---|
266 |
|
---|
267 | if "%_MY_OPT_WITH_EXTPACK%" == "0" goto no_extpack_ddf
|
---|
268 | echo .Set DestinationDir=VBoxExtPackPuel>> "%_MY_OPT_DDF_FILE%"
|
---|
269 | echo .\VBoxExtPackPuel.inf VBoxExtPackPuel.inf>> "%_MY_OPT_DDF_FILE%"
|
---|
270 | echo %_MY_EXTPACK_DIR%\win.%_MY_OPT_ARCH%\VBoxEhciR0.r0 VBoxEhciR0.r0>> "%_MY_OPT_DDF_FILE%"
|
---|
271 | echo %_MY_EXTPACK_DIR%\win.%_MY_OPT_ARCH%\VBoxNvmeR0.r0 VBoxNvmeR0.r0>> "%_MY_OPT_DDF_FILE%"
|
---|
272 | rem echo %_MY_EXTPACK_DIR%\win.%_MY_OPT_ARCH%\VBoxPciRawR0.r0 VBoxPciRawR0.r0>> "%_MY_OPT_DDF_FILE%"
|
---|
273 | :no_extpack_ddf
|
---|
274 |
|
---|
275 | if "%_MY_OPT_WITH_GA%" == "0" goto no_additions_ddf
|
---|
276 | echo .Set DestinationDir=VBoxGuestAdditions>> "%_MY_OPT_DDF_FILE%"
|
---|
277 | echo %_MY_OPT_GADIR%\VBoxGuest.inf>> "%_MY_OPT_DDF_FILE%"
|
---|
278 | echo %_MY_OPT_GADIR%\VBoxGuest.sys>> "%_MY_OPT_DDF_FILE%"
|
---|
279 | echo %_MY_OPT_GADIR%\VBoxTray.exe>> "%_MY_OPT_DDF_FILE%"
|
---|
280 | echo %_MY_OPT_GADIR%\VBoxControl.exe>> "%_MY_OPT_DDF_FILE%"
|
---|
281 | echo %_MY_OPT_GADIR%\VBoxMouse.inf>> "%_MY_OPT_DDF_FILE%"
|
---|
282 | echo %_MY_OPT_GADIR%\VBoxMouse.sys>> "%_MY_OPT_DDF_FILE%"
|
---|
283 | rem VBoxVideo files are excluded from attestation signing.
|
---|
284 | rem echo %_MY_OPT_GADIR%\VBoxVideo.inf>> "%_MY_OPT_DDF_FILE%"
|
---|
285 | rem echo %_MY_OPT_GADIR%\VBoxVideo.sys>> "%_MY_OPT_DDF_FILE%"
|
---|
286 | echo %_MY_OPT_GADIR%\VBoxWddm.inf>> "%_MY_OPT_DDF_FILE%"
|
---|
287 | echo %_MY_OPT_GADIR%\VBoxWddm.sys>> "%_MY_OPT_DDF_FILE%"
|
---|
288 | echo %_MY_OPT_GADIR%\vboxdisp.dll>> "%_MY_OPT_DDF_FILE%"
|
---|
289 | echo %_MY_OPT_GADIR%\vboxdispd3d.dll>> "%_MY_OPT_DDF_FILE%"
|
---|
290 | echo %_MY_OPT_GADIR%\vboxnine.dll>> "%_MY_OPT_DDF_FILE%"
|
---|
291 | echo %_MY_OPT_GADIR%\vboxsvga.dll>> "%_MY_OPT_DDF_FILE%"
|
---|
292 | echo %_MY_OPT_GADIR%\vboxicd.dll>> "%_MY_OPT_DDF_FILE%"
|
---|
293 | echo %_MY_OPT_GADIR%\vboxgl.dll>> "%_MY_OPT_DDF_FILE%"
|
---|
294 | if ".%_MY_OPT_ARCH%" == ".x86" goto skip_amd64_files
|
---|
295 | echo %_MY_OPT_GADIR%\vboxdispd3d-x86.dll>> "%_MY_OPT_DDF_FILE%"
|
---|
296 | echo %_MY_OPT_GADIR%\vboxnine-x86.dll>> "%_MY_OPT_DDF_FILE%"
|
---|
297 | echo %_MY_OPT_GADIR%\vboxsvga-x86.dll>> "%_MY_OPT_DDF_FILE%"
|
---|
298 | echo %_MY_OPT_GADIR%\vboxicd-x86.dll>> "%_MY_OPT_DDF_FILE%"
|
---|
299 | echo %_MY_OPT_GADIR%\vboxgl-x86.dll>> "%_MY_OPT_DDF_FILE%"
|
---|
300 | :skip_amd64_files
|
---|
301 |
|
---|
302 | :no_additions_ddf
|
---|
303 |
|
---|
304 | rem
|
---|
305 | rem Create the cabient file.
|
---|
306 | rem Note! MakeCab is shipped on W10, so we ASSUME it's in the PATH.
|
---|
307 | rem
|
---|
308 | MakeCab.exe /v2 /F "%_MY_OPT_DDF_FILE%" || goto end_failed
|
---|
309 |
|
---|
310 | rem
|
---|
311 | rem EV sign the cabient file.
|
---|
312 | rem
|
---|
313 | if not exist "sign-ev.cmd" goto end
|
---|
314 | echo info: Now signing the created CAB file. Can take a few minutes...
|
---|
315 | call sign-ev.cmd "%_MY_OPT_OUTPUT%" || goto end_failed
|
---|
316 |
|
---|
317 | goto end
|
---|
318 |
|
---|
319 | :end_failed
|
---|
320 | @endlocal
|
---|
321 | @endlocal
|
---|
322 | @exit /b 1
|
---|
323 |
|
---|
324 | :end
|
---|
325 | @endlocal
|
---|
326 | @endlocal
|
---|