copy list of video file names to text file along with their runtime?

Posted by Adam Johnston on Super User See other posts from Super User or by Adam Johnston
Published on 2012-09-02T16:23:07Z Indexed on 2012/09/02 21:40 UTC
Read the original article Hit count: 199

Filed under:
|
|
|
|

Copy list of file names to text file?

I am linking the above page because of its relevance to my question.

Is there anything similar that can be done to output a 'plain' looking text file (or xml or csv file) with basically the same data that the following cmd prompt produces:

dir > c:\list.txt

However only difference I need is the runtime of any and all video files included in the outputted file. Can this easily be done?

Please let me know whether this can be done in the python terminal as well since I am familiar with that was well as Microsoft's dos prompt.

Thank you so very much.

© Super User or respective owner

Related posts about Windows

Related posts about command-line