Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuacline authored Aug 16, 2024
1 parent c8361f7 commit 88bee4f
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions windick.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,8 @@ EXIT /B
SET "RND1=%RANDOM%%RANDOM%"&&SET "RND1=!RND1:~5,5!"&&SET "RND1=!RND1:~1,1!"
EXIT /B
:CLEAN
FOR %%G in (HZ TMP LST DSK PAK QRY RUN HALT) DO (IF EXIST "$%%G*" DEL /Q /F "$%%G*">NUL)
FOR %%G in (HZ TMP LST DSK PAK RUN) DO (IF EXIST "$%%G*" DEL /Q /F "$%%G*">NUL)
IF NOT DEFINED DRIVER_QRY IF EXIST "$QRY" DEL /Q /F "$QRY">NUL
EXIT /B
:ARGUE
CALL SET "ARG%ARGZ%=%ARGX:"=%"
Expand Down Expand Up @@ -1176,22 +1177,22 @@ IF NOT DEFINED LIVE_APPLY SET "VDISK_LTR=ANY"&&CALL:VDISK_ATTACH
IF NOT DEFINED LIVE_APPLY IF NOT "%VDISK_SYS%"=="1" SET "ERR_MSG= %XLR4%Vdisk error or Windows is not installed on Vdisk.%#$%"&&GOTO:LIST_RUN_CLEANUP
:LIST_RUN_JUMP
CALL:VAR_CLEAR&&FOR /F "TOKENS=1-9 SKIP=1 DELIMS=[]" %%a in ($RUN) DO (FOR %%$ in (%LIST_ITEMS1% %LIST_ITEMS2%) DO (FOR %%X in (DRIVER COMMAND COMMANDQ) DO (IF "%%X"=="%%$" IF "%%$"=="%%a" CALL:MOUNT_CLEAR)
IF "%%$"=="%%a" CALL SET "LIST_ITEM=%%a"&&CALL SET "BASE_MEAT=%%b"&&CALL SET "LIST_ACTN=%%c"&&CALL SET "LIST_TIME=%%d"&&CALL SET "LIST_CLM5=%%e"&&CALL:CLEAN&&CALL:UNIFIED_PARSE))
IF "%%$"=="%%a" CALL SET "LIST_ITEM=%%a"&&CALL SET "BASE_MEAT=%%b"&&CALL SET "LIST_ACTN=%%c"&&CALL SET "LIST_TIME=%%d"&&CALL SET "LIST_CLM5=%%e"&&CALL:UNIFIED_PARSE))
IF DEFINED DUAL_SESSION GOTO:LIST_RUN_END
CALL:CLEAN&&CALL:VAR_CLEAR
CALL:VAR_CLEAR
IF "%BRUTE_FORCE%"=="ENABLED" SC DELETE $BRUTE>NUL 2>&1
IF DEFINED BRUTE_FLG SET "BRUTE_FLG="&&SET "BRUTE_FORCE=ENABLED"
IF EXIST "%PROG_SOURCE%\$BRUTE.CMD" DEL /Q /F "%PROG_SOURCE%\$BRUTE.CMD">NUL 2>&1
IF EXIST "$QRY" DEL /Q /F "$QRY">NUL 2>&1
rem IF EXIST "$QRY" DEL /Q /F "$QRY">NUL 2>&1
:LIST_RUN_CLEANUP
IF DEFINED ERR_MSG ECHO.&&ECHO.%ERR_MSG%&&ECHO.
IF DEFINED MULTI_LIST IF "%VDISK_ATTACHED%"=="1" CALL:VDISK_DETACH
IF NOT DEFINED MULTI_LIST IF NOT DEFINED LIVE_APPLY CALL:VDISK_DETACH
IF DEFINED MULTI_LIST IF "%VDISK_ATTACHED%"=="1" CALL:MOUNT_INT&CALL:VDISK_DETACH
IF NOT DEFINED MULTI_LIST IF NOT DEFINED LIVE_APPLY CALL:MOUNT_INT&CALL:VDISK_DETACH
:LIST_RUN_END
ECHO.&&IF NOT DEFINED DUAL_SESSION FOR %%a in (DRIVER_QRY SC_PREPARE RO_PREPARE VDISK_ATTACHED) DO (SET "%%a=")
IF DEFINED PKX_SESSION ECHO. %#@%PKX-LIST END:%#$% %DATE% %TIME%
IF NOT DEFINED PKX_SESSION ECHO. %#@%EXEC-LIST END:%#$% %DATE% %TIME%
ECHO.&&IF DEFINED PKX_SESSION ECHO. %#@%PKX-LIST END:%#$% %DATE% %TIME%
IF NOT DEFINED PKX_SESSION ECHO. %#@%EXEC-LIST END:%#$% %DATE% %TIME%&&CALL:CLEAN
IF DEFINED DUAL_SESSION ECHO.
IF NOT DEFINED DUAL_SESSION FOR %%a in (DRIVER_QRY SC_PREPARE RO_PREPARE VDISK_ATTACHED) DO (SET "%%a=")
IF NOT DEFINED DUAL_SESSION CALL:BOXB2&&CALL:PAD_LINE&&CALL:MOUNT_INT&&CALL:SCRATCH_DELETE&&CALL:TITLECARD&&IF NOT "%PROG_MODE%"=="COMMAND" CALL:PAUSED
FOR %%a in (DUAL_SESSION ERR_MSG LIST_ITEMS1 LIST_ITEMS2 $RUN LIST_ITEM LIST_TIME LIST_ACTN BASE_MEAT LIST_CLM5) DO (SET "%%a=")
EXIT /B
Expand All @@ -1201,9 +1202,9 @@ IF DEFINED $HALT IF NOT DEFINED $HALTX SET "$HALTX=1"&&ECHO. ERROR: HALTED.
IF DEFINED $HALT EXIT /B
FOR %%a in (LIST_ITEM BASE_MEAT LIST_ACTN) DO (IF NOT DEFINED %%a EXIT /B)
FOR %%a in (0 1 2 3 4 5 6 7 8 9) DO (IF "%LIST_ITEM%"=="$%%a" SET "VAR%%a=%LIST_ACTN%"&&EXIT /B)
IF DEFINED MULTI_LIST IF "%LIST_ITEM%"=="PICK" CALL:PICK_ITEM
IF "%LIST_ITEM%:%LIST_TIME%"=="COMMAND:IA" CALL:COMMAND_ITEM
IF "%LIST_ITEM%:%LIST_TIME%"=="COMMANDQ:IA" CALL:COMMAND_ITEM
IF DEFINED MULTI_LIST IF "%LIST_ITEM%"=="PICK" CALL:PICK_ITEM
IF "%LIST_ITEM%:%LIST_TIME%"=="APPX:IA" CALL:APPX_ITEM
IF "%LIST_ITEM%:%LIST_TIME%"=="COMPONENT:IA" CALL:COMP_ITEM
IF "%LIST_ITEM%:%LIST_TIME%"=="DRIVER:IA" CALL:DRVR_ITEM
Expand All @@ -1213,6 +1214,7 @@ IF "%LIST_ITEM%:%LIST_TIME%"=="TASK:IA" CALL:TASK_ITEM
IF "%LIST_ITEM%:%LIST_TIME%"=="DISM:IA" IF NOT "%LIST_ACTN%"=="" SET "DISM_OPER=%BASE_MEAT%"&&CALL:DISM_ITEM
IF "%LIST_ITEM%:%LIST_TIME%"=="EXTPACKAGE:IA" CALL SET "EXTPACKAGE=%PACK_FOLDER%\%BASE_MEAT%"&&CALL:PACK_ITEM
FOR %%a in (SC RO) DO (IF "%%a"=="%LIST_TIME%" CALL:SC_RO_CREATE)
CALL:CLEAN
EXIT /B
:PICK_ITEM
SET "CAPS_SET=BASE_MEAT"&&SET "CAPS_VAR=%BASE_MEAT%"&&CALL:CAPS_SET
Expand Down Expand Up @@ -1448,6 +1450,7 @@ IF "%LIST_ITEM%:%LIST_ACTN%"=="FEATURE:ENABLE" IF NOT DEFINED DISMSG CALL ECHO.
IF "%LIST_ITEM%:%LIST_ACTN%"=="FEATURE:DISABLE" IF NOT DEFINED DISMSG CALL ECHO. %XLR2%Feature %BASE_MEAT% is a stub or unable to disable.%#$%
EXIT /B
:SC_RO_CREATE
IF "%LIST_ITEM%"=="PICK" EXIT /B
CALL:IF_LIVE_EXT
IF "%LIST_TIME%"=="SC" SET "SCRO=SetupComplete"
IF "%LIST_TIME%"=="RO" SET "SCRO=RunOnce"
Expand Down

0 comments on commit 88bee4f

Please sign in to comment.