w10install/wim/get-wiminfo.cmd
2022-12-25 20:52:46 +01:00

20 lines
283 B
Batchfile

@echo off
set SOURCES=c:\TEMP\W10\sources
set FILENAME=%1
IF %1.==. GOTO USAGE
echo getting infos of %SOURCES%\%FILENAME% ...
dism /Get-WimInfo /WimFile:%SOURCES%\%FILENAME%
GOTO END
:USAGE
echo "usage: %0 <FILENAME>"
echo.
dir /B %SOURCES%\*.wim
echo.
:END