text of a directory

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a lot of files in a directory and I want to copy the list of files in that directory and put them in a text file. Basically I have a lot of scanned pictures and would like to organize them seperately and if I had a text file with a list of all of them it would make it easier for me
 
Click on Start then Run and type cmd and hit enter.

Type cd \%%%%%. Replace %%%%% with the directory name containing your files.

E.g. c:\documents and settings\<username>\my documents\my pictures.

Type dir > dirlist.txt then open dirlist.txt in notepad.

That should do it!!

JoeH said:
I have a lot of files in a directory and I want to copy the list of files
in that directory and put them in a text file. Basically I have a lot of
scanned pictures and would like to organize them seperately and if I had a
text file with a list of all of them it would make it easier for me
 
Hi JoeH

Go To Start > Run and type cmd <press enter>
Change directories with the cd command until you get the directory
whose files you want to get.

type dir > "C:\Path_to_receiving_directory\directory.txt"

The file 'directory.txt' will be created with the list of files you
want.

Good luck
 
Back
Top