Major .bin and extraction code overhaul * All .cmd files now have code for searching the for the .bin folder * This starts at the script's parent folder and moves upward * If no .bin folder is found then print an error to the screen * 7z has been replaced with 7za * This is for better handling of x32/x64 usage * This also fixed a few bugs with extracting ProduKey/MailPassView/etc * We no longer require the full power of 7z.exe/7z.dll * (Since wimlib-imagex will probably be used for WIM files soon-ish) * Bugfixes * A few calls of pushd were unsafe (without quotes) * SFC scan no longer closes immediately
19 lines
No EOL
246 B
Batchfile
19 lines
No EOL
246 B
Batchfile
@echo off
|
|
|
|
:Flags
|
|
set fix=
|
|
for %%f in (%*) do (
|
|
if /i "%%f" == "/DEBUG" (@echo on)
|
|
if /i "%%f" == "/f" (set fix=/f)
|
|
)
|
|
|
|
:Init
|
|
title WK System File Checker
|
|
color 1b
|
|
|
|
:ScheduleCheck
|
|
sfc /scannow
|
|
|
|
:Done
|
|
echo Press any key to exit...
|
|
pause>nul |