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