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.

DOS Question

  • 04-10-2011 10:43AM
    #1
    Closed Accounts Posts: 959 ✭✭✭


    I am looking to get a list of all files included in a directory , down into the sub dir's aswell.
    I was thinking that maybe DOS might be the job. Anyone any ideas? I thought DOS had a LIST command, but no joy.
    Basically I am qualifying a software installation and need to generate a list of what files has been installed.

    Cheers


Comments

  • Registered Users, Registered Users 2 Posts: 13,270 ✭✭✭✭Paulw


    dir /s

    I think that's what you want.


  • Closed Accounts Posts: 959 ✭✭✭kwalshe


    Yes PaulW that's the one . Do you know if it would be possible to export that into a txt file. Otherwise I will have to do the /p switch and take a print screen of each paused screen


  • Registered Users, Registered Users 2 Posts: 154 ✭✭ladgie353


    dir /s /b > c:\filename.txt

    this will list the content of the current folder and all of its subfolders and put it in a file called filename.txt at the root of your c drive.

    The /b switch will remove all date and size attributes, making list cleaner
    Remove it if you need the info.


  • Closed Accounts Posts: 959 ✭✭✭kwalshe


    ladgie353 wrote: »
    dir /s /b > c:\filename.txt

    this will list the content of the current folder and all of its subfolders and put it in a file called filename.txt at the root of your c drive.

    The /b switch will remove all date and size attributes, making list cleaner
    Remove it if you need the info.

    Absolutely 100% what I needed , brilliant thanks...:)


Advertisement