How to list files in a folder in text format

I found out about  a  most useful tool today that can be used if you want to list the files in a folder and put them in a spreadsheet or something, when auditing websites. I’ve just done this for a folder with over 30,000 files in and it was super quick.

Go to Start > run > cmd

In the command prompt type

dir/a/b  c:\foldername > c:\temp.txt

This creates a txt file called temp the root of your c drive and lists all the files in the specifed file.

One Response to “How to list files in a folder in text format”

  1. MICHEAL says:


    CheapTabletsOnline.Com. Canadian Health&Care.Best quality drugs.Special Internet Prices.No prescription online pharmacy. No prescription drugs. Buy pills online

    Buy:Advair.Acomplia.Zetia.Zocor.Seroquel.Buspar.Ventolin.Lasix.Amoxicillin.Lipothin.SleepWell.Cozaar.Female Cialis.Lipitor.Female Pink Viagra.Aricept.Nymphomax.Wellbutrin SR.Benicar.Prozac….

Leave a Reply