Post by Mike Ruddock
Is it possible to make a printed list of the files on an external
memory? I have a number of flash memories and it would be useful if I
I presume you mean memory stick, flash drive, or other such term - a
memory module with a USB plug.
Post by Mike Ruddock
could refer to printed lists of their contents instead of embarking on
a long sequence of memory swapping to see what is on each one.
No doubt if I were efficient I would have each flash memory devoted to
a particular type of file, but that isn't the way things are
(dis)organised in the Ruddock household.
Assuming some sort of Windows:
1. Open a command prompt. (Start, Programs, Accessories - or Start, Run,
type cmd and press enter.)
2. Switch to the "drive" in question - type
(and press enter) if it's drive E:, or otherwise as appropriate.
dir /s > list.txt
(pressing enter after each. The first probably isn't necessary.)
This will generate a file (in the root of the memory stick; it can be
elsewhere but I'm keeping it simple) called list.txt, listing all the
files on the "drive"; you can print or do whatever you wish with that
The DIR[ectory] command can take other parameters; the "/s" means
"including subdirectories", and can be omitted if there aren't any; "/w"
will list only the filenames, not their sizes (so "dir /w /s >
list.txt"); /x will include their short filenames. Typing "dir /?" will
show them all - or "dir /? | more" if it goes off the top of the window.
(Piping it through the "more" command makes it pause once a screenful.)
One of the switches (/o) can change the order (by date, size, name,
DIR has been around since before Windows (though has gained a few
wrinkles). It has often been asked why print-directory-list wasn't put
into Windows, and there are several utilities that will do it; since I
can do it easily enough from a command prompt as described above, I've
never found the need for them.
(You close the command prompt by just clicking its X in the normal way,
or by typing exit.)
J. P. Gilliver. UMRA: 1960/<1985 MB++G()AL-IS-Ch++(p)***@T+H+Sh0!:`)DNAf
Easy reading is damned hard writing. -Nathaniel Hawthorne, writer (1804-1864)