![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Count How Many Images Are Embedded in Microsoft Word Documents
|
||
$folder = "c:\fso\*"
$include = "*.doc","*.docx" $word = new-object -comobject word.application $word.visible = $false Get-ChildItem -path $folder -include $include | ForEach-Object ` { $doc = $word.documents.open($_.fullname) $_.name + " has " + $doc.inlineshapes.count + " images in the file" } $word.quit() | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |