Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Saving list of files in a directory to text file?

  • 06-07-2004 05:45PM
    #1
    Registered Users, Registered Users 2 Posts: 3,360 ✭✭✭


    Hi,

    What's the best way to save a text file report of files I have in a folder?

    Maybe something that would list the file name, extension and file size that I could save to txt or html or whatever?


Comments

  • Registered Users, Registered Users 2 Posts: 1,372 ✭✭✭silverside


    dir *.* > file.txt

    dir /? if you want to specify options (subdirectories etc).


  • Registered Users, Registered Users 2 Posts: 207 ✭✭BlueDrax


    I was going to suggest FileGrab but silverside's suggestion would be a lot easier/quicker.


Advertisement