Dumping list of folders to txt

SieSie Member Posts: 1,195
Anyone think of dos command to **** the list of folders in a parent folder to a txt file?

For example you can run:

dir /AD /P >>txt.txt
Which **** output of dir command to txt.txt showing only directories.

However this includes timestamps etc which i dont want. I purely want JUST the folder names.

EG: A HD on a server is full i want to forward a txt document to Help Desk to say it will effect All users under the home share. (IE the list of folders in a share called home)

Am i making sense? icon_confused.gif

{Edit - Its obviously a Windows Environment}
Foolproof systems don't take into account the ingenuity of fools

Comments

  • sprkymrksprkymrk Member Posts: 4,884 ■■■□□□□□□□
    Try the /B switch.
    All things are possible, only believe.
  • ally_ukally_uk Member Posts: 1,145 ■■■■□□□□□□
    Why Bother

    save your time and do a screen **** and email them lol
    Microsoft's strategy to conquer the I.T industry

    " Embrace, evolve, extinguish "
  • SieSie Member Posts: 1,195
    dir/AD/B>>txt.txt works like a charm.

    Thanxs sprkymrk dont know how i missed that!!

    Ally, it could be 1000 users and thus would include 'many' screenshots.

    Also if its in txt they can do a 'find' command on the file and check if the user calling is included in the ones affected.
    Foolproof systems don't take into account the ingenuity of fools
Sign In or Register to comment.