w10install/image/get-wiminfo.cmd
2023-02-20 07:56:50 +01:00

20 lines
294 B
Batchfile

@echo off
set SOURCES=%SystemDrive%\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