Inital Commit
This commit is contained in:
20
Overlay/SMBInstaller/LoadSetup.cmd
Normal file
20
Overlay/SMBInstaller/LoadSetup.cmd
Normal file
@@ -0,0 +1,20 @@
|
||||
@ECHO OFF
|
||||
TITLE Loading windows setup
|
||||
REM load needed var(s)
|
||||
set /p SelectedRelease=<%TEMP%\SelectedRelease.var
|
||||
|
||||
set SetupFound=FALSE
|
||||
REM go to setUp location
|
||||
I:
|
||||
cd \%SelectedRelease%
|
||||
|
||||
REM Check if setup exists
|
||||
IF exist setup.exe (
|
||||
set SetupFound=TRUE
|
||||
REM load setUp
|
||||
start /wait setup.exe
|
||||
)
|
||||
|
||||
echo | set /p=%SetupFound%>%TEMP%\SetupFound.var
|
||||
|
||||
REM exit
|
||||
Reference in New Issue
Block a user