Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to find file's summary information on command prompt

Status
Not open for further replies.

gbaksh

Programmer
Aug 18, 2003
9
US
hi guys,

a part of my task includes how to retrieve the summary info from all the files in a given folder from the command prompt and create a text file of the format:

file_name created_date summary_info (where I've one col for all the information I get by right clicking on the file, clicking on properties, clicking on summary)

Thanks for any help i can get.

 
in CMD, type
Code:
dir /?
This gives you different options for the directory list command, test them out with different switches to find the ones that give you your desired effect.

when you have your desired switch commands, use the print to command to print it to say c:\dirList\dirList.txt

Code:
dir /x /y/ /z >c:\dirList\dirList.txt

Hope this Helps.

Neil J Cotton
njc Information Systems
Systems Consultant
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top