Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

DOS Question

  • 04-10-2011 9: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,381 ✭✭✭✭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