Archive for October, 2008

Get filenames inside a folder

A simple command to get the list of file names in a directory to a text file.

In windows xp, go to command prompt : Click Start -> Run

then type cmd.

Go to the folder where the files are existing.

C:\>cd temp

then issue the command

C:\temp>dir /b > FileNames.txt.

The filenames will be available in the same folder within the text file “FileNames.txt”

Remember : the name “FileNames.txt” will also be available in the content.

Add comment October 3, 2008


Archives

 

October 2008
M T W T F S S
« Aug   Nov »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Pages