I'd like to make a batch file that:
- Opens the Command Prompt
- Mounts an .ISO
Then runs:
DISM /Online /Cleanup-Image /StartComponentCleanup DISM /Online /Cleanup-Image /AnalyzeComponentStore DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:F:\Sources\Install.wim:1 /LimitAccess SFC /SCANNOW
How would I go about doing that? I already know how to create a .bat file and how to run it as admin. Thanks in advance for your answers!