@echo off
if exist Drivers\Drvs.esp goto ST
if exist Drivers\regadj.exe goto XBD
if exist Drivers\Graphics.7z goto YT
md C:\Drivers
xcopy Drivers\*.* C:\Drivers /s
copy 7z\RegPath.exe C:\Drivers\
type 7z\dnd.txt > sysprep\Newprep.ini
exit

:ST
type Drivers\Drvs.esp | find "UnCompressPath = C:\WINDOWS\Drivers" && goto ZYD
md C:\Drivers
xcopy Drivers\*.* C:\Drivers /s
type 7z\a.txt > sysprep\Newprep.ini
exit

:ZYD
md C:\WINDOWS\Drivers
xcopy Drivers\*.* C:\WINDOWS\Drivers /s
type 7z\b.txt > sysprep\Newprep.ini
exit

:XBD
md C:\Drivers
xcopy Drivers\*.* C:\Drivers /s
type 7z\xbd.txt > sysprep\Newprep.ini
md C:\sysprep\EVEREST
xcopy EVEREST\*.* C:\sysprep\EVEREST
copy 7z\Drvtool.exe C:\WINDOWS\
copy 7z\Drvtool.ini C:\WINDOWS\
exit

:YT
md C:\Drivers\
xcopy Drivers\*.* C:\Drivers /s
copy 7z\Drvtool.exe C:\WINDOWS\
copy 7z\Drvtool.ini C:\WINDOWS\
type 7z\xbd.txt > sysprep\Newprep.ini
type 7z\c.txt > C:\WINDOWS\Drvtool.ini
del C:\Drivers\Driver.exe
del C:\Drivers\EVEREST.7z
exit

