VirtualBox

source: vbox/trunk/src/VBox/Installer/win/Scripts/Combined-3-RepackAdditions.cmd@ 107349

Last change on this file since 107349 was 106321, checked in by vboxsync, 3 months ago

Windows installers: Big revamp for removing all DIFxApp-related / DIFxApi-related code and build dependencies for the host and guest installers. bugref:10762

This implements an own framework (VBoxWinDrvInst and VBoxWinDrvStore) for installing Windows drivers and querying / handling the Windows driver store,
along with testcases for the Windows guest and host installers.

  • Property svn:eol-style set to CRLF
  • Property svn:keywords set to Author Date Id Revision
File size: 16.7 KB
Line 
1@echo off
2rem $Id: Combined-3-RepackAdditions.cmd 106321 2024-10-15 13:06:30Z vboxsync $
3rem rem @file
4rem Windows NT batch script for repacking signed amd64 and x86 drivers.
5rem
6
7rem
8rem Copyright (C) 2018-2024 Oracle and/or its affiliates.
9rem
10rem This file is part of VirtualBox base platform packages, as
11rem available from https://www.virtualbox.org.
12rem
13rem This program is free software; you can redistribute it and/or
14rem modify it under the terms of the GNU General Public License
15rem as published by the Free Software Foundation, in version 3 of the
16rem License.
17rem
18rem This program is distributed in the hope that it will be useful, but
19rem WITHOUT ANY WARRANTY; without even the implied warranty of
20rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21rem General Public License for more details.
22rem
23rem You should have received a copy of the GNU General Public License
24rem along with this program; if not, see <https://www.gnu.org/licenses>.
25rem
26rem SPDX-License-Identifier: GPL-3.0-only
27rem
28
29
30setlocal ENABLEEXTENSIONS
31setlocal
32
33rem
34rem Globals and checks for required enviornment variables.
35rem
36if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & goto end_failed)
37if ".%KBUILD_BIN_PATH%" == "." (echo KBUILD_BIN_PATH is not set & goto end_failed)
38set _MY_SCRIPT_DIR=%~dp0
39set _MY_SAVED_CD=%CD%
40set _MY_VER_REV=@VBOX_VERSION_STRING@r@VBOX_SVN_REV@
41
42rem
43rem Parse arguments.
44rem
45set _MY_OPT_UNTAR_DIR=%_MY_SCRIPT_DIR%\..\..\..\
46for %%i in (%_MY_OPT_UNTAR_DIR%) do set _MY_OPT_UNTAR_DIR=%%~fi
47set _MY_OPT_BUILD_TYPE=@KBUILD_TYPE@
48set _MY_OPT_OUTDIR=%_MY_OPT_UNTAR_DIR%\output
49set _MY_OPT_SRC_DIR=%_MY_SCRIPT_DIR%\resources\
50
51:argument_loop
52if ".%1" == "." goto no_more_arguments
53
54if ".%1" == ".-h" goto opt_h
55if ".%1" == ".-?" goto opt_h
56if ".%1" == "./h" goto opt_h
57if ".%1" == "./H" goto opt_h
58if ".%1" == "./?" goto opt_h
59if ".%1" == ".-help" goto opt_h
60if ".%1" == ".--help" goto opt_h
61
62if ".%1" == ".-o" goto opt_o
63if ".%1" == ".--outdir" goto opt_o
64if ".%1" == ".-s" goto opt_s
65if ".%1" == ".--source" goto opt_s
66if ".%1" == ".--signed-amd64" goto opt_signed_amd64
67if ".%1" == ".--signed-x86" goto opt_signed_x86
68if ".%1" == ".-t" goto opt_t
69if ".%1" == ".--build-type" goto opt_t
70if ".%1" == ".-u" goto opt_u
71if ".%1" == ".--vboxall-untar-dir" goto opt_u
72echo syntax error: Unknown option: %1
73echo Try --help to list valid options.
74goto end_failed
75
76:argument_loop_next_with_value
77shift
78shift
79goto argument_loop
80
81:opt_h
82echo Toplevel combined package: Repack the guest additions.
83echo .
84echo Usage: Combined-3-RepackAdditions.cmd [-o output-dir]
85echo [-u/--vboxall-dir unpacked-vboxall-dir] [-t build-type]
86echo [--signed-amd64 signed-amd64.zip]
87echo [--signed-x86 signed-x86.zip]
88echo
89echo .
90echo Default -u/--vboxall-untar-dir value: %_MY_OPT_UNTAR_DIR%
91echo Default -o/--outdir value: %_MY_OPT_OUTDIR%
92echo Default -t/--build-type value: %_MY_OPT_BUILD_TYPE%
93echo .
94goto end_failed
95
96:opt_o
97if ".%~2" == "." goto syntax_error_missing_value
98set _MY_OPT_OUTDIR=%~f2
99goto argument_loop_next_with_value
100
101:opt_s
102if ".%~2" == "." goto syntax_error_missing_value
103set _MY_OPT_SRC_DIR=%~f2
104goto argument_loop_next_with_value
105
106:opt_signed_amd64
107if ".%~2" == "." goto syntax_error_missing_value
108set _MY_OPT_SIGNED_AMD64=%~f2
109goto argument_loop_next_with_value
110
111:opt_signed_x86
112if ".%~2" == "." goto syntax_error_missing_value
113set _MY_OPT_SIGNED_X86=%~f2
114goto argument_loop_next_with_value
115
116:opt_t
117if ".%~2" == "." goto syntax_error_missing_value
118set _MY_OPT_BUILD_TYPE=%~2
119goto argument_loop_next_with_value
120
121:opt_u
122if ".%~2" == "." goto syntax_error_missing_value
123set _MY_OPT_UNTAR_DIR=%~f2
124goto argument_loop_next_with_value
125
126:syntax_error_missing_value
127echo syntax error: missing or empty option value after %1
128goto end_failed
129
130:error_vboxall_untar_dir_not_found
131echo syntax error: The VBoxAll untar directory was not found: "%_MY_OPT_UNTAR_DIR%"
132goto end_failed
133
134:error_amd64_bindir_not_found
135echo syntax error: The AMD64 bin directory was not found: "%_MY_BINDIR_AMD64%"
136goto end_failed
137
138:error_x86_bindir_not_found
139echo syntax error: The X86 bin directory was not found: "%_MY_BINDIR_X86%"
140goto end_failed
141
142:error_amd64_repack_dir_not_found
143echo syntax error: The AMD64 repack directory was not found: "%_MY_REPACK_DIR_AMD64%"
144goto end_failed
145
146:error_x86_repack_dir_not_found
147echo syntax error: The X86 repack directory was not found: "%_MY_REPACK_DIR_X86%"
148goto end_failed
149
150:error_extpack_not_found
151echo syntax error: Specified extension pack not found: "%_MY_OPT_EXTPACK%"
152goto end_failed
153
154:error_enterprise_extpack_not_found
155echo syntax error: Specified enterprise extension pack not found: "%_MY_OPT_EXTPACK_ENTERPRISE%"
156goto end_failed
157
158:error_signed_amd64_not_found
159echo syntax error: Zip with signed AMD64 drivers not found: "%_MY_OPT_SIGNED_AMD64%"
160goto end_failed
161
162:error_signed_x86_not_found
163echo syntax error: Zip with signed X86 drivers not found: "%_MY_OPT_SIGNED_X86%"
164goto end_failed
165
166:error_src_dir_not_found
167echo syntax error: src directory not found: "%_MY_OPT_SRC_DIR%"
168goto end_failed
169
170
171:no_more_arguments
172rem
173rem Validate and adjust specified options.
174rem
175
176if not exist "%_MY_OPT_UNTAR_DIR%" goto error_vboxall_untar_dir_not_found
177
178set _MY_BINDIR_AMD64=%_MY_OPT_UNTAR_DIR%\win.amd64\%_MY_OPT_BUILD_TYPE%\bin\additions
179set _MY_BINDIR_X86=%_MY_OPT_UNTAR_DIR%\win.x86\%_MY_OPT_BUILD_TYPE%\bin\additions
180if not exist "%_MY_BINDIR_AMD64%" goto error_amd64_bindir_not_found
181if not exist "%_MY_BINDIR_X86%" goto error_x86_bindir_not_found
182
183set _MY_REPACK_DIR_AMD64=%_MY_OPT_UNTAR_DIR%\win.amd64\%_MY_OPT_BUILD_TYPE%\repackadd
184set _MY_REPACK_DIR_X86=%_MY_OPT_UNTAR_DIR%\win.x86\%_MY_OPT_BUILD_TYPE%\repackadd
185if not exist "%_MY_REPACK_DIR_AMD64%" goto error_amd64_repack_dir_not_found
186if not exist "%_MY_REPACK_DIR_X86%" goto error_x86_repack_dir_not_found
187
188if not ".%_MY_OPT_SIGNED_AMD64%" == "." goto skip_set_default_amd64_signed
189set _MY_OPT_SIGNED_AMD64="%_MY_OPT_OUTDIR%/VBoxDrivers-@VBOX_VERSION_STRING@r@[email protected]"
190:skip_set_default_amd64_signed
191
192if not ".%_MY_OPT_SIGNED_X86%" == "." goto skip_set_default_x86_signed
193set _MY_OPT_SIGNED_X86="%_MY_OPT_OUTDIR%/VBoxDrivers-@VBOX_VERSION_STRING@r@[email protected]"
194:skip_set_default_x86_signed
195
196if not exist "%_MY_OPT_SIGNED_AMD64%" goto error_signed_amd64_not_found
197if not exist "%_MY_OPT_SIGNED_X86%" goto error_signed_x86_not_found
198
199rem Make sure the output dir exists.
200if not exist "%_MY_OPT_OUTDIR%" (mkdir "%_MY_OPT_OUTDIR%" || goto end_failed)
201
202if not exist "%_MY_OPT_SRC_DIR%" goto error_src_dir_not_found
203
204rem
205rem Unpacking the two driver zips.
206rem
207echo **************************************************************************
208echo * AMD64: Unpacking signed drivers...
209echo **************************************************************************
210cd /d "%_MY_REPACK_DIR_AMD64%" || goto end_failed
211call "%_MY_REPACK_DIR_AMD64%\UnpackBlessedDrivers.cmd" -n -b "%_MY_BINDIR_AMD64%" -i "%_MY_OPT_SIGNED_AMD64%" --guest-additions || goto end_failed
212echo .
213
214echo **************************************************************************
215echo * X86: Unpacking signed drivers...
216echo **************************************************************************
217cd /d "%_MY_REPACK_DIR_X86%" || goto end_failed
218call "%_MY_REPACK_DIR_X86%\UnpackBlessedDrivers.cmd" -n -b "%_MY_BINDIR_X86%" -i "%_MY_OPT_SIGNED_X86%" --guest-additions || goto end_failed
219echo .
220
221
222rem
223rem Building amd64 installer
224rem
225echo **************************************************************************
226echo * Building amd64 installer
227echo **************************************************************************
228
229del %_MY_OPT_UNTAR_DIR%\win.amd64\release\bin\additions\VBoxWindowsAdditions-amd64.exe
230cp %_MY_REPACK_DIR_AMD64%\..\obj\uninst.exe %_MY_REPACK_DIR_AMD64%
231
232rem TBD: that has to be converted to invoke auto-generated .cmd
233
234%KBUILD_BIN_PATH%\kmk_redirect.exe -C %_MY_OPT_SRC_DIR% ^
235 -E "PATH_OUT=%_MY_REPACK_DIR_AMD64%\.." ^
236 -E "PATH_TARGET=%_MY_REPACK_DIR_AMD64%" ^
237 -E "PATH_TARGET_X86=%_MY_REPACK_DIR_X86%\resources" ^
238 -E "VBOX_PATH_ADDITIONS_WIN_X86=%_MY_REPACK_DIR_AMD64%\..\bin\additions" ^
239 -E "VBOX_VENDOR=Oracle Corporation" -E "VBOX_VENDOR_SHORT=Oracle" -E "VBOX_PRODUCT=Oracle VirtualBox" ^
240 -E "VBOX_C_YEAR=@VBOX_C_YEAR@" -E "VBOX_VERSION_STRING=@VBOX_VERSION_STRING@" -E "VBOX_VERSION_STRING_RAW=@VBOX_VERSION_STRING_RAW@" ^
241 -E "VBOX_VERSION_MAJOR=@VBOX_VERSION_MAJOR@" -E "VBOX_VERSION_MINOR=@VBOX_VERSION_MINOR@" -E "VBOX_VERSION_BUILD=@VBOX_VERSION_BUILD@" -E "VBOX_SVN_REV=@VBOX_SVN_REV@" ^
242 -E "VBOX_WINDOWS_ADDITIONS_ICON_FILE=%_MY_OPT_SRC_DIR%\VirtualBoxGA-vista.ico" ^
243 -E "VBOX_NSIS_ICON_FILE=%_MY_OPT_SRC_DIR%\VirtualBoxGA-nsis.ico" ^
244 -E "VBOX_WITH_GUEST_INSTALL_HELPER=1" -E "VBOX_WITH_GUEST_INSTALLER_UNICODE=1" -E "VBOX_WITH_LICENSE_INSTALL_RTF=1" ^
245 -E "VBOX_WITH_WDDM=1" -E "VBOX_WITH_MESA3D=1" -E "VBOX_BRAND_WIN_ADD_INST_DLGBMP=%_MY_OPT_SRC_DIR%\welcome.bmp" ^
246 -E "VBOX_BRAND_LICENSE_RTF=%_MY_OPT_SRC_DIR%\License-gpl-3.0.rtf" -E "KBUILD_TYPE=%_MY_OPT_BUILD_TYPE%" -E "KBUILD_TARGET_ARCH=amd64" ^
247 -- %KBUILD_DEVTOOLS%/win.x86/nsis/v3.04-log/makensis.exe /NOCD /V2 ^
248 "/DVBOX_SIGN_ADDITIONS=1" ^
249 "/DEXTERNAL_UNINSTALLER=1" ^
250 "%_MY_OPT_SRC_DIR%\VBoxGuestAdditions.nsi"
251
252rem
253rem Building amd64 installer
254rem
255echo **************************************************************************
256echo * Building x86 installer
257echo **************************************************************************
258
259del %_MY_OPT_UNTAR_DIR%\win.x86\release\bin\additions\VBoxWindowsAdditions-x86.exe
260cp %_MY_REPACK_DIR_X86%\..\obj\uninst.exe %_MY_REPACK_DIR_X86%\
261
262rem TBD: that has to be converted to invoke auto-generated .cmd
263
264%KBUILD_BIN_PATH%\kmk_redirect.exe -C %_MY_OPT_SRC_DIR% ^
265 -E "PATH_OUT=%_MY_REPACK_DIR_X86%\.." ^
266 -E "PATH_TARGET=%_MY_REPACK_DIR_X86%" ^
267 -E "PATH_TARGET_X86=%_MY_REPACK_DIR_X86%\resources" ^
268 -E "VBOX_PATH_ADDITIONS_WIN_X86=%_MY_REPACK_DIR_X86%\..\bin\additions" ^
269 -E "VBOX_VENDOR=Oracle Corporation" -E "VBOX_VENDOR_SHORT=Oracle" -E "VBOX_PRODUCT=Oracle VirtualBox" ^
270 -E "VBOX_C_YEAR=@VBOX_C_YEAR@" -E "VBOX_VERSION_STRING=@VBOX_VERSION_STRING@" -E "VBOX_VERSION_STRING_RAW=@VBOX_VERSION_STRING_RAW@" ^
271 -E "VBOX_VERSION_MAJOR=@VBOX_VERSION_MAJOR@" -E "VBOX_VERSION_MINOR=@VBOX_VERSION_MINOR@" -E "VBOX_VERSION_BUILD=@VBOX_VERSION_BUILD@" -E "VBOX_SVN_REV=@VBOX_SVN_REV@" ^
272 -E "VBOX_WINDOWS_ADDITIONS_ICON_FILE=%_MY_OPT_SRC_DIR%\VirtualBoxGA-vista.ico" ^
273 -E "VBOX_NSIS_ICON_FILE=%_MY_OPT_SRC_DIR%\VirtualBoxGA-nsis.ico" ^
274 -E "VBOX_WITH_GUEST_INSTALL_HELPER=1" -E "VBOX_WITH_GUEST_INSTALLER_UNICODE=1" -E "VBOX_WITH_LICENSE_INSTALL_RTF=1" ^
275 -E "VBOX_WITH_WDDM=1" -E "VBOX_WITH_MESA3D=1" -E "VBOX_BRAND_WIN_ADD_INST_DLGBMP=%_MY_OPT_SRC_DIR%\welcome.bmp" ^
276 -E "VBOX_BRAND_LICENSE_RTF=%_MY_OPT_SRC_DIR%\License-gpl-3.0.rtf" -E "KBUILD_TYPE=%_MY_OPT_BUILD_TYPE%" -E "KBUILD_TARGET_ARCH=x86" ^
277 -- %KBUILD_DEVTOOLS%/win.x86/nsis/v3.04-log/makensis.exe /NOCD /V2 ^
278 "/DVBOX_SIGN_ADDITIONS=1" ^
279 "/DEXTERNAL_UNINSTALLER=1" ^
280 "%_MY_OPT_SRC_DIR%\VBoxGuestAdditions.nsi"
281
282rem
283rem Making .iso
284rem
285echo **************************************************************************
286echo * Making VBoxGuestAdditions.iso
287echo **************************************************************************
288
289del %_MY_OPT_OUTDIR%/VBoxGuestAdditions.iso
290
291rem TBD: that has to be converted to invoke auto-generated .cmd
292
293%_MY_SCRIPT_DIR%/../bin/bldRTIsoMaker.exe ^
294 --output %_MY_OPT_OUTDIR%/VBoxGuestAdditions.iso ^
295 --iso-level 3 ^
296 --rock-ridge ^
297 --joliet ^
298 --rational-attribs ^
299 --random-order-verification 2048 ^
300 /cert/vbox-sha1.cer=%_MY_SCRIPT_DIR%/../bin/additions/vbox-sha1.cer ^
301 /cert/vbox-sha256.cer=%_MY_SCRIPT_DIR%/../bin/additions/vbox-sha256.cer ^
302 /windows11-bypass.reg=%_MY_SCRIPT_DIR%/../bin/additions/windows11-bypass.reg ^
303 /VBoxWindowsAdditions-x86.exe=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxWindowsAdditions-x86.exe ^
304 /VBoxWindowsAdditions.exe=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxWindowsAdditions.exe ^
305 /AUTORUN.INF=%_MY_OPT_SRC_DIR%/AUTORUN.INF ^
306 /cert/VBoxCertUtil.exe=%_MY_SCRIPT_DIR%/../bin/additions/VBoxCertUtil.exe ^
307 /NT3x/Readme.txt=%_MY_OPT_SRC_DIR%/NT3xReadme.txt ^
308 /NT3x/VBoxGuest.sys=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxGuest.sys ^
309 /NT3x/VBoxGuest.cat=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxGuest.cat ^
310 /NT3x/VBoxGuest.inf=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxGuest.inf ^
311 /NT3x/VBoxMouseNT.sys=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxMouseNT.sys ^
312 /NT3x/VBoxMouse.inf=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxMouse.inf ^
313 /NT3x/VBoxMouse.cat=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxMouse.cat ^
314 /NT3x/VBoxMouse.sys=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxMouse.sys ^
315 /NT3x/VBoxControl.exe=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxControl.exe ^
316 /NT3x/VBoxService.exe=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxService.exe ^
317 /VBoxWindowsAdditions-amd64.exe=%_MY_OPT_UNTAR_DIR%/win.amd64/release/bin/additions/VBoxWindowsAdditions-amd64.exe ^
318 /VBoxSolarisAdditions.pkg=%_MY_OPT_UNTAR_DIR%/solaris.x86/release/bin/additions/VBoxSolarisAdditions.pkg ^
319 /OS2/VBoxGuest.sys=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/VBoxGuest.sys ^
320 /OS2/VBoxSF.ifs=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/VBoxSF.ifs ^
321 /OS2/VBoxService.exe=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/VBoxService.exe ^
322 /OS2/VBoxControl.exe=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/VBoxControl.exe ^
323 /OS2/VBoxReplaceDll.exe=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/VBoxReplaceDll.exe ^
324 /OS2/libc06.dll=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/libc06.dll ^
325 /OS2/libc061.dll=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/libc061.dll ^
326 /OS2/libc062.dll=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/libc062.dll ^
327 /OS2/libc063.dll=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/libc063.dll ^
328 /OS2/libc064.dll=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/libc064.dll ^
329 /OS2/libc065.dll=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/libc065.dll ^
330 /OS2/libc066.dll=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/libc066.dll ^
331 /OS2/readme.txt=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/readme.txt ^
332 /OS2/gengradd.dll=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/gengradd.dll ^
333 /OS2/vboxmouse.sys=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/vboxmouse.sys ^
334 /VBoxLinuxAdditions.run=%_MY_OPT_UNTAR_DIR%/linux.x86/release/bin/additions/VBoxLinuxAdditions.run ^
335 /runasroot.sh=%_MY_OPT_UNTAR_DIR%/linux.x86/release/bin/additions/runasroot.sh ^
336 /autorun.sh=%_MY_OPT_UNTAR_DIR%/linux.x86/release/bin/additions/autorun.sh ^
337 /VBoxDarwinAdditions.pkg=%_MY_OPT_UNTAR_DIR%/darwin.amd64/release/dist/additions/VBoxGuestAdditions.pkg ^
338 /VBoxDarwinAdditionsUninstall.tool=%_MY_OPT_UNTAR_DIR%/darwin.amd64/release/dist/additions/VBoxDarwinAdditionsUninstall.tool ^
339 --chmod a+x:/VBoxLinuxAdditions.run --chmod a+x:/runasroot.sh --chmod a+x:/autorun.sh --chmod a+x:/VBoxDarwinAdditionsUninstall.tool ^
340 --volume-id="VBOXADDITIONS_@VBOX_VERSION_STRING@_@VBOX_SVN_REV@" ^
341 --name-setup=joliet ^
342 --volume-id="VBox_GAs_@VBOX_VERSION_STRING@"
343
344if not exist %_MY_OPT_OUTDIR%/VBoxGuestAdditions.iso goto end_failed
345call set _MY_OUT_FILES=%%VBoxGuestAdditions.iso
346
347rem
348rem That's that.
349rem
350echo **************************************************************************
351echo * The third and final step is done.
352echo *
353echo * Successfully created:
354for %%i in (%_MY_OUT_FILES%) do echo * "%_MY_OPT_OUTDIR%\%%i"
355goto end
356
357
358:end_failed
359@cd /d "%_MY_SAVED_CD%"
360@endlocal
361@endlocal
362@echo * Failed!
363@exit /b 1
364
365:end
366@cd /d "%_MY_SAVED_CD%"
367@endlocal
368@endlocal
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette