I've been experimenting with the "TREE" and the "DIR" commands to create a text file on my hard drive listing the following details and information about a data DVD I created:
all the directories, subdirectories, complete long file names within each directory, sizes, and dates they were last accessed. However, the best set of commands and parameters I've been able to devise is:
F:\DIR /A /N /P > e:\DVD_contents.wpd
which lists (in a text file) directory and file information from left to right in the following order:
date, time, if a directory it lists <DIR> followed by the directory name; if NOT a directory it lists the file size, then file name.
For example, it looks something like this:
08/22/2004 04:49 PM <DIR> Smith
01/30/1848 06:14 AM 30,474 Addresslist.wpd
I know the date is goofy, but that's what shows up in DOS when I'm trying to do this. I also know that my hard drive is E, rather than C. That happened when I took my computer in for repair. Anyway, those aren't things I care to worry about right now. I want to learn how to create a text file listing details about the directories, subdirectories and files on a data DVD such as the following:
Directory names, subdirectories if any, followed by a list of all files in each directory (or subdirectory), followed by their sizes, dates (with full four-digit year) and times.
Can anyone assist me please?