![]() The image metadata is easily found from the File tab for the photo by clicking Properties, then Details. ![]() This can be extremely useful for anyone who takes photos. How can I get the properties of an Image file in windows using the command line?Ĭommonly filled out metadata for image files contains the camera, the F-stop, resolution, and other useful information about the photo. If not, I'm open to anything that doesn't require installing additional software. So is there a way to return properties of an Image file (or list of files) in windows using the command line. That's about as much troubleshooting as I know how to do. I also notice, when I enter wmic datafile get/? that dimensions is not listed as one of the available properties. I tried to use that with a test on a single file: wmic datafile where Name="C:\\IMG_5443.JPG" get Name,FileType > "C:\\info.txt"īut it returns Error: Invalid query so I'm guessing WMIC doesn't work with images, or at least some of the arguments need to change. It's the next part I'm not sure about I've found info on other OSs, I've also heard WMIC suggested. Getting the list of files is fine DIR C:\\FOLDER\*.* /S| (I think). These properties might not all be available for every image - I'm not sure if that will be a problem yet. ![]() I'm trying to return a text file containing some details about image files in a folder and its subfolders. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |