w10install/get-wiminfo.cmd

15 lines
197 B
Batchfile
Raw Normal View History

2020-12-21 16:40:22 +01:00
@echo off
2020-12-20 21:29:12 +01:00
set SOURCES=c:\TEMP\Win10\sources
2020-12-21 14:08:56 +01:00
set FILENAME=%1
2020-12-20 21:29:12 +01:00
2020-12-21 14:08:56 +01:00
IF %1.==. GOTO USAGE
dism /Get-WimInfo /WimFile:%SOURCES%\%FILENAME%
GOTO END
:USAGE
echo "usage: %0 <FILENAME>"
:END
2020-12-20 13:37:23 +01:00