1. I need to figure out how to access the properties tab from the command line.
Basically, I am trying to use some of the info in properties (specifically, the width and height of a video file) for inclusion in a script (python, calling os.system to use the command line). So, instead of right-clicking, selecting properties, clicking on summary, and looking at width and height under "image" to get the dimensions, I like to see if I can get the width and height (or all properties, whatever) printed out to the screen (to be redirected to a text file and read in to the script.)
I know you can use "dir" and the filename to find the size, but I absolutely cannot figure out how to display any other properties.
2. A less important question, and possibly something better answered for python than for dos, but something else I'm trying to figure out: what's the best way to distinguish between directories and files in a folder? I'm looking for something like an "isDirectory()" kind of function.
Thanks.