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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DOS Command

Status
Not open for further replies.

dbinfoweb

Technical User
Nov 20, 2001
59
US
Hello, I am just wondering if there is any way to write all the information of files in a directory to a text file. (i.e. Name, Size, Type and Modified)
 
You can redirect the DOS output of a command to a filename as such:

DIR *.* >c:\listing.txt

Then edit your Listing.TXT file in the root of C:





"In space, nobody can hear you click..."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top