
Therefore, to play these types of files you should use an MKV compatible player or download appropriate codecs. Since MKV file does not have an industry standard, not all types of media players support these files. Matroska Video Files, popularly known as MKV files are basically multimedia container formats that contain different types of files including tags, subtitles and other metadata in a single file. "I want my name, the comment, and the description embedded in my Sony video. "I have an MKV file, but the file name displayed is not matched. 4.20 Convert MKV to MP4 with HandBrake Alternative.If ($n = $folder.MKV TRY IT FREE TRY IT FREE 1. # Note: Assumes that no indices higher than 1000 exist. Here's code that finds the indices of all supported property names: $folder = (New-Object -ComObject Shell.Application).NameSpace("$pwd") Note that all property values are returned as strings, and that if the targeted property is not filled in, the empty string ( '') is returned try 0 (the file's name) as a standard property to verify that the call works in principle. $folder.ParseName((Split-Path -Leaf $file)), # Output the value of the "Comments" property.


$folder = (New-Object -ComObject Shell.Application).NameSpace((Split-Path $file)) You can only read such properties programmatically in an application-independent fashion: $file = 'C:\path\to\some\file.doc' Note that interactively, modifying - but not adding - properties via the Properties dialog in File Explorer may be possible, if a File Explorer extension is installed for a given document type (such as for a Microsoft Word *.docx file). Otherwise, you must use an application-specific API, such as the various COM libraries for Microsoft Office applications e.g., New-Object -ComObject Word.Application this documentation may provide further information. Judging by this forum thread, you can only read such extended document properties in an application-independent manner via the Windows (GUI) shell, whereas updating (editing) them requires the specific application that created the file.Ī potential workaround is the 3rd-party Microsoft.WindowsAPICodePack-Shell NuGet package, though note that it hasn't been updated since 2014 see this answer for how to use it.
