Results 1 to 8 of 8

Thread: Printingor making a list of whats on a disk

  1. #1
    Member gavogr's Avatar
    Join Date
    Jan 2008
    Location
    Adelaide Nth East
    Posts
    444
    Thanks
    122
    Thanked 30 Times in 19 Posts
    Rep Power
    220
    Reputation
    394

    Default Printingor making a list of whats on a disk

    Hi there just wondering if any one knows of a way to Print or make a list of whats on a disk (in excel or word format), without having to individually type each thing yourself.
    EG. if i have 300 mp3's on a disk and i dont want to type a list of songs how can i create a list.
    Thanks
    Gavin



Look Here ->
  • #2
    Senior Member
    ssrattus's Avatar
    Join Date
    Jan 2008
    Posts
    4,160
    Thanks
    515
    Thanked 821 Times in 490 Posts
    Rep Power
    455
    Reputation
    5922

    Default

    do it in DOS...

    Open the command window ie Start => Run... and type in cmd.

    Change to the disk ie CD D: or whatever

    then

    dir/b>filelist.txt

    will create a text file with the directory contents.

    Have a play with the various dir switches to see what format is best.

    PS

    dir>PRN

    will print directly to a printer... assuming the printer actually works as a DOS PRN.

    dir

    Lists the contents of a directory.

    The dir command typed by itself, displays the disk's volume label and serial number; one directory or filename per line, including the filename extension, the file size in bytes, and the date and time the file was last modified; and the total number of files listed, their cumulative size, and the free space (in bytes) remaining on the disk. The command is one of the few commands that exist from the first versions of DOS.

    dir [drive:][path][filename] [parameters]

    Most commonly used parameters of dir include:

    * /W : Displays the listing in wide format, with as many as five filenames or directory names on each line.
    * /P : Pause at every page
    * /S : Also look in subdirectories
    * /Axx: Display files with the specified attributes only
    * /Oxx: Modifies sort order
    * /B : Uses bare format (no heading information or summary)
    * > [drive:][path][filename] : To Store Result in a text file;(c:\dir > c:\fileList.txt)

    Possible attributes for the A parameter are D (directories), R (read-only files), H (hidden files), A (files/directories with the archive bit on), and S (system files). The prefix - negates an attribute; attributes can be combined (e.g. /AA means directories with the archive bit on).

    Possible sort orders are N (name), S (size), E (extension), D (date and time), A (last access date), and G (group directories first). The prefix - reverses the order.

    The default parameters of dir can be set using the DIRCMD environment variable.

  • #3
    Member gavogr's Avatar
    Join Date
    Jan 2008
    Location
    Adelaide Nth East
    Posts
    444
    Thanks
    122
    Thanked 30 Times in 19 Posts
    Rep Power
    220
    Reputation
    394

    Default

    cool thanks very much for that i will give it a go

  • #4
    Senior Member
    ssrattus's Avatar
    Join Date
    Jan 2008
    Posts
    4,160
    Thanks
    515
    Thanked 821 Times in 490 Posts
    Rep Power
    455
    Reputation
    5922

    Default

    Had a thought... you may be trying to do the file list of a CD or DVD, therefore you can't write to it, so you need to write to your HD ie write to a folder called say temporary ie

    dir/b>c:\temporary\filelist.txt

    alternately you don't need to change directories at all, just define the disk in the dir command line ie

    dir D: /b>c:\temporary\flielist.txt

  • #5
    Senior Member
    Philquad's Avatar
    Join Date
    Jan 2008
    Location
    nelson bay
    Age
    55
    Posts
    3,872
    Thanks
    192
    Thanked 1,305 Times in 783 Posts
    Rep Power
    665
    Reputation
    16938

    Default

    it works

    your so smart ssrattus

    https://www.facebook.com/philquad68

  • #6
    Member gavogr's Avatar
    Join Date
    Jan 2008
    Location
    Adelaide Nth East
    Posts
    444
    Thanks
    122
    Thanked 30 Times in 19 Posts
    Rep Power
    220
    Reputation
    394

    Default

    it works a treat cheers for that.
    Gavin

  • #7
    Senior Member
    ssrattus's Avatar
    Join Date
    Jan 2008
    Posts
    4,160
    Thanks
    515
    Thanked 821 Times in 490 Posts
    Rep Power
    455
    Reputation
    5922

    Default

    Quote Originally Posted by PhillTheQuad View Post
    your so smart ssrattus

    Not so smart... just have been around a long time....

  • #8
    Member Gerbertron's Avatar
    Join Date
    Jan 2008
    Posts
    398
    Thanks
    83
    Thanked 173 Times in 98 Posts
    Rep Power
    230
    Reputation
    988

    Default

    This program also saves lists in a few different formats, it's also fairly easy to use.

  • Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •