-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstartnet.cmd
More file actions
42 lines (36 loc) · 1017 Bytes
/
startnet.cmd
File metadata and controls
42 lines (36 loc) · 1017 Bytes
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
:: =========================================================
:: startnet cmd for Hudson Automotive Group IT PC imaging
:: Robert Moss 17OCT25
:: =========================================================
@echo off
wpeinit
color 1F
echo.
echo ============================================
echo Windows 11 Deployment - Dell Systems
echo ============================================
echo.
echo Starting deployment script...
echo.
echo Detecting USB partitions...
for %%D in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (
if exist %%D:\Deploy\apply.cmd (
set BOOT_DRIVE=%%D:
echo Boot partition found: %%D:
)
if exist %%D:\Drivers\ (
set DATA_DRIVE=%%D:
echo Data partition found: %%D:
)
)
if "%BOOT_DRIVE%"=="" (
echo ERROR: Boot partition not found!
pause
exit /b 1
)
if "%DATA_DRIVE%"=="" (
echo ERROR: Data partition with drivers not found!
pause
exit /b 1
)
%BOOT_DRIVE%\Deploy\apply.cmd