w10install/image/get-wiminfo.cmd

20 lines
294 B
Batchfile
Raw Permalink Normal View History

2021-01-10 23:14:52 +01:00
@echo off
2023-02-20 07:56:50 +01:00
set SOURCES=%SystemDrive%\TEMP\W10\sources
2021-01-10 23:14:52 +01:00
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>"
2021-02-28 21:25:39 +01:00
echo.
dir /B %SOURCES%\*.wim
2021-02-28 21:25:39 +01:00
echo.
2021-01-10 23:14:52 +01:00
:END