Program

edited March 2007 in Software
I'm looking for a program or script or something that will get the contents (files/subfolders/subfolder's files/etc) of a folder on my server and write them to a text file.

Anyone know of such a program?

Comments

  • In DOS (Or a DOS-window) you can try "dir > list.txt"

    -Q
  • Have you Googled it? Doesn't sound like something that would be hard to find.
  • Like what Q said, but use tree /F instead.
  • Ahh, I knew there was a switch missing. I think /s might work as well.

    -Q
  • Nice, thanks.
  • Moved to Help > DOS.

    -Q
  • I use a number of different formats for producing such lists for my cdroms.

    ls.exe is a clone of the Unix clone, and ls -lR is pretty common format for this. I use also the 4dos 'dir /msza:-d' which captures descriptions as well.

    You could experiment with ls, because it can capture a lot of interesting files, and is available in many formats. The text files are quite greppable.
Sign In or Register to comment.