At 07:19 PM 6/8/1998 Oliver Dammann wrote:
>
> Is there any software available, that reads directory entries,
> sorts them and writes them back to disk?
Oliver:
Go to a DOS or COMMAND Prompt in the directory you
wish to write the contents to file.
Execute the following command:
dir /ogn > dir-list.$$$
where:
"/o" is the sort order switch;
"g" is to group directories first (to delete if needed);
"n" is to sort by name (alphabetic);
">" is the redirection pipe to send output to a file; and
"dir-list.$$$" is the name of the file (current directory).
If you only want the filenames, use the bare switch:
/b
but if you want all the file information, use the verbose switch:
/v
You can name the output file anything you want, and
use a full pathname if needed.
Regards,
John Chin
|