Post Your Computer Questions

Site Index   |  Quick Index   |  New Tips   |  MS Windows   |  MS Office   |   Newsletter   |   Q&A  |   More Tips  |    

Tips Download   |   Donations   |   Customer Support   |   Registry Tips   |   Weekend Windup |   IE 6.0   |   IE 7.0  |   Help   |   Suggestions

 Windows XP Run Commands | Computer Questions. Microsoft Access Databases | Computer Terms | New Home Material Estimating Spread Sheets!

  Windows XP Remote Desktop Setup One! | 57 Vista Run Commands | Windows XP Remote Desktop Setup Two!

IF01987_C

Instantly Create A List Of All Files In Windows XP.

This little trick is very useful, especially if you have a drive or folder with a lot of files, subfolders and sub-files. It allows you to quickly list all file names, including their location, size and the date the file was modified in a text file or spreadsheet.

Click backupreg_01.jpg
then backupreg_02.jpg

listoffiles_01.jpg

Type cmd then click backupreg_03.jpg Then Click ok

Since the drive or file can be anything (depending on what you want to list), I have listed a few examples

Example 1:If you wanted all files located in the C:\Documents and Settings\Gary\My Documents\ Type the following (hit Enter after each line):

cd c:\

dir "C:\Documents and Settings\Gary\My Documents\” /s > c:\List.txt

listoffiles_02.jpg

 

Example 2:If you wanted all files located in C:\ , you would type the following (hit Enter after each line):

cd c:\

dir “c:\” /s > c:\List.txt

 

listoffiles_03.jpg

 

Note that the basic format is:

dir ”location you want to search” /s > C:\AnyFileName.txt

The underlined text is what will change depending on what you are wanting to list and the filename that you choose.

The blue text is what will change depending on what you are wanting to list and the filename that you choose.

Type Exit or click on the “X” to close the command prompt then navigate to where you created the text file. If you double click the file, notepad will open with a list of all of files and subfolders and sub-files

listoffiles_04.jpg

If you have Excel Installed, you can open this in excel by first launching excel, then click Open, then navigate to where you created the text file (make sure you change the files of type, to all files) then open the file and excel will start the import wizard, follow excel’s wizard instructions and viola you have your data in Excel!

 


            
  NAVIGATION
 

My Newsletter

Message Boards
Post Your PC Question.
Tips Package Download
Site Index
Quick Index

 


 

 


  Site Feedback

Let me know if you need anything else.

Did this Article Give you the Information You Were Looking For?

 

YES!  NO!

Hit Counter

Main Site Navigation:

|Windows 7 Questions. |Vista Questions. |Windows XP Home and Pro Questions. |Internet Explorer 8.0 |Internet Explorer 7.0 |Printer Problems. |Outlook Express 6.0 |

|Windows Mail. |Moderator Tips! |Firefox |Home Networking Problems!! | Function Keys, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12 | Windows Live Essentials 2011.

 

You Can also get all these tips plus more in one Package including 100 Vista Tips!

 

Page 1

Page 2

Page 3

Page 4

Page 5

Page 6

Page 7

Page 8

 

See The 11 Tip Package That You Should Print And Keep Close To Your Computer! 

100 Vista Tips!

This One Also Comes With The Standard Tips Package!  2 Downloads!

  My Blog!

Close To 400 More XP Tips.  If you Can't Find The Answer Here just Click Here!
Page 1 Page 2 Page 3 Page 4 Page 5 Page 6 Page 7 Page 8


Newsletter Signup
   |   Search   |   Windows Versions   |   Office Versions   |  
Forum |   Readers Q&A   |   Tips In Full Graphics   |   Tips Download    

 Site Navigation:
Donations
   |   Support   |   Registry Tips   |   Weekend Windup   |   PC Questions |   IE 6.0   |   IE 7.0   |   Outlook Express 6.0   |   PC Help
Virus Info
   |   Computer Drivers   |   Hardware Info.   |  
Your Suggestions |   IE 7.0 Install  |   Database Downloads   |   Home  |  Computer Terms  

|   57 Vista Run Commands   |   Windows XP Run Commands  |   Microsoft Access Databases  |

Windows XP Remote Desktop Setup One! |New Home Material Estimating Spread Sheets! Windows XP Remote Desktop Setup Two!

All products mentioned are registered trademarks or trademarks of their respective companies.
Questions or problems regarding this web site should be directed to the
Webmaster.
Copyright © 1999-2011  Internet Fixes. All rights reserved.      
Legal Disclaimer

This Site Is Part Of The Internet Fixes Network!