Q: How to expand cab? A: Part 1: Create expand tool 3-1: Create a folder. e.g. ExpandCab 3-2: Create Expand-cab.cmd in ExpandCab Code: @echo off pushd "%~dp0" set FOLDER=Z: dir /b %FOLDER%\*.cab >>%FOLDER%\cab.txt %WinDir%\System32\cscript //nologo replace.vbs %FOLDER%\cab.txt ".cab" "" for /f %%x in ('findstr /i . %FOLDER%\cab.txt 2^>nul') do ( if not exist %FOLDER%\%%x md %FOLDER%\%%x %WinDir%\System32\expand -R "%FOLDER%\%%x.cab" -F:* "%FOLDER%\%%x" if exist "%FOLDER%\%%x\*.cab" %WinDir%\System32\expand -R "%FOLDER%\%%x\*.cab" -F:* "%FOLDER%\%%x" if /i exist "%FOLDER%\%%x\*.cab" (del /f /q "%FOLDER%\%%x\*.cab") if /i exist "%FOLDER%\%%x\*.ini" (del /f /q "%FOLDER%\%%x\*.ini") if /i exist %FOLDER%\cab.txt (del /f /q %FOLDER%\cab.txt) ) :END pause exit 3-3: Create replace.vbs in ExpandCab Code: Const ForReading = 1 Const ForWriting = 2 strFileName = Wscript.Arguments(0) strOldText = Wscript.Arguments(1) strNewText = Wscript.Arguments(2) Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.OpenTextFile(strFileName, ForReading) strText = objFile.ReadAll objFile.Close strNewText = Replace(strText, strOldText, strNewText) Set objFile = objFSO.OpenTextFile(strFileName, ForWriting) objFile.Write strNewText 'WriteLine adds extra CR/LF objFile.Close Part 2: Expand cab 3-1: Put all cab files in a place. e.g. Z: 3-2: Modify set FOLDER=Z: in Expand-cab.cmd, and save Code: no backslash at the end of Z: Right: set FOLDER=Z: Wrong: set FOLDER=Z:\ 3-3: Double-Click Expand-cab.cmd
OK my dear friend @xinso , I'm sorry for asking you, I know that you are an excellent person too and these "bad guys" you refer to are just "stupid guys" for me and certainly for many here, if the ADMs of CDM has treated you as a bad member, they are commenting on a mistake in my opinion, and if you don't like my point of view in this regard, then I will also be a bad member, as I would defend you even if they considered me as a bad member member, I don't care. I wish that all the real bad members that exist in this forum were like you, but I'm sure they don't have the capacity for that, as I said before, and they may hate me for it, but for me they will be nothing at all in that place called empty. You are one of my examples, where I try to mirror myself despite my faults. My sincere greetings. Kindly and humbly, @JeepWillys58
You have to figure out these two posts at MDL before you can get to know Windows. https://forums.mydigitallife.net/th...struction-project.80939/page-129#post-1658204
Yeah. But the xml can only remove packages "without" owner. Right? Same as Dism, not enough privileges.
If you want to learn how Microsoft installs edge.wim to install.wim, you can install it with "dism /logpath:EdgeChromium.log".
I guess zhanglin is now busy in somehting. Let's wait. He might show picture later. I learn from his questions too.