Dumping list of folders to txt
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?
{Edit - Its obviously a Windows Environment}
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?
{Edit - Its obviously a Windows Environment}
Foolproof systems don't take into account the ingenuity of fools
Comments
-
ally_uk Member Posts: 1,145 ■■■■□□□□□□Why Bother
save your time and do a screen **** and email them lolMicrosoft's strategy to conquer the I.T industry
" Embrace, evolve, extinguish " -
Sie Member Posts: 1,195dir/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