File Listing Program??

Discussion in 'Software' started by nubbles, Apr 11, 2006.

  1. nubbles

    nubbles Private E-2

    ok well its kinda hard to explain but i need a program that will scan a folder that you point it to, and will come out with a "tree" of folders and files contained inside and also showing the size of the files.EG:

    if u point to it to say C:\My Music\ it will scan and come out with:

    C:\My Music\Blah artist\
    blah.mp3 2.5 mb
    blah2.mp3 3.0mb

    and list all thats in the folder and there size etc

    i was gonna manually do it all myself but it will take me hours.. if anyone knows of a program that does this, please let me know. :eek:
     
  2. Coco

    Coco Sergeant Major

    Just open a command prompt and browse to the folder you want listed then type "dir". Or if you want to make a file with the file names and sizes simply type "dir > files.txt" and it will create a list of the files with file sizes printed beside them and then put this information into a file names "files.txt" in the directory you are currently in.
     
  3. nubbles

    nubbles Private E-2

    well ahh thats kinda what i needed but i wanted it to make it scan the whole directory and the directories inside that.. like searchin inside a zip file ...
     
  4. Mada_Milty

    Mada_Milty MajorGeek

    Try dir /s > file.txt... the /s switch will have it search all subdirectories!
     
  5. nubbles

    nubbles Private E-2

    thank you :D that did the job perfectly, now to convert them all into KB instead of bytes :rolleyes: or is there a way i can get it to write it in KB'S?
     
  6. Mada_Milty

    Mada_Milty MajorGeek

    The dir command doesn't support this feature natively, I'm afraid. However, if you are good with Excel, you can have the command dump the directory listing into a CSV file, and manipulate from there.
     
  7. nubbles

    nubbles Private E-2

    oh well thanks anyway, unfortuanatly i have no Exel so ill just do it the old fashion way :D
     
  8. Coco

    Coco Sergeant Major

    About the only other thing the dir command supports is to add comma's for the thousand marker. Although vista has commands that support what you want. :) Not much help now but in a few years. :)
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds