How to make list of files quickly

If you have a large number of files in a folder or distributed in some folders and your goal is to make a list of all the available directories and files. If number of objects (directories and files) are in hundreds, doing it manually is going to take reasonable long time and would surely be annoying.

Suppose we want to make a list of all the files in a folder “Program Files”  which is commonly located on our ‘C:’ drives. We take start by opening command prompt. Command Prompt can be accessed wither by searching for it in “All Programs”, going to “RUN” and type ‘cmd’. If you are unable to find “RUN” button in your start menu, it can be opened using “WINDOW-key + R”.

Once you have opened command prompt, traverse to desired folder. Once there, you’ll have to give the statement “dir /s >FileList.txt”.

Below is the complete display how to do it all.

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Usman>
C:\Documents and Settings\Usman>cd\
C:\>cd “PROGRAM FILES”
C:\Program Files>dir /s >FileList.txt
C:\Program Files>

C:\Documents and Settings\Admin>

C:\Documents and Settings\Admin>cd\

C:\>cd “PROGRAM FILES”

C:\Program Files>dir /s >FileList.txt

Line wise description is as under:

  1. Normally this is the landing path which is opened when command prompt is accessed.
  2. To get in the root path of our drive we use ‘cd\’
  3. Now when your present working directory is your drive, you can goto your desired folder easily. Folder name is to be used in inverted commas because complete folder name contains a space inside.
  4. “dir” is the command that displays contents of a directory, parameter “/s” makes it possible to get info from sub-directories and “FileList.txt” will be the file name where you’ll be able to see your required list. This command may take some time according to the number of files that it has to enlist.

Recreate Show Desktop Icon

If you have accidentally deleted show desktop icon from your quick launch bar, what you must do is to open your recycle bin first. Yes, it must be there to be restored. But what if you have habit of using shift button while deleting items, recycle bin would not help you.

So, to re-create the Show desktop icon yourself, follow these steps:

1.   Click Start, click Run, type notepad in the Open box, and then click OK.

2.   Carefully copy and then paste the following text into the Notepad window:

[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop

3.   On the File menu, click Save As, and then save the file to your desktop as “Show desktop.scf”. The Show desktop icon is created on your desktop.

4.   Click and then drag the Show desktop icon to your Quick Launch toolbar.