Need help understanding MS DOS commands
Posted on 2008-10-03
I asked a question in a MS newsgroup, but I still don't understand the answer: I wanted to print out the list of folders in the Outlook Express message pane, and the following was the recommendation of one way to accomplish it:
(Is a list of the "folders" which actually contain messages good enough?
You could adapt this suggestion I made to someone who wanted
"a list of subscribed newsgroups"...
If you only had one news account and you hadn't visited newsgroups
but not subscribed to them you could get a list of your *.dbx in your
Message Store subdirectory as a good approximation to a list of your
E.g. right-click Properties on an Outlook bar item.
Then press Tab to select the filename under the label:
"This folder is stored in the following file:"
Capture that selection. (E.g. press Ctrl-c)
Switch to a cmd window and type: cd /d
(with a trailing space <g>)
Then right-click, Paste. Remove the filename (e.g. press Backspace
back to the last backslash (\) and press Enter.
Then enter: dir/b/on *.dbx >dbx.txt
(or whatever pattern you would like to list just some newsgroup .dbx,
e.g. for just microsoft.public ones you could enter:
dir/b/on microsoft.public.*.dbx >mpdbx.txt
Note the filter on that line captures the output of the command
into the same directory so it can be browsed and further edited
by Notepad (or printed or whatever else you like with it later.}
I went to the DOS command window and it was pointing to C:\Documents and
Settings\HP_Administrator>. I cd\ back to the C:\ prompt and then pasted in
the directory for one of my dbx files in OE as follows:
C:\Documents and Settings\HP_Administrator\Local Settings\Application
I first backspaced over Weekend Letter.dbx and hit Enter
I got the following error message:
"Documents" is not recognized as an internal or external command, operable
program or batch file
Can you tell me what I'm doing wrong?
Not following instructions?
Specifically, there is no sign that you did this
E.g. you captured the path and switched to a cmd window all right
but then just pasted the path in as if it was a command to be executed
from the drive root? Note the whole idea is to paste the path as an
_operand_ of a command that you start typing:
Also, when you do what I suggest you don't need to use quotes around
your operand, even if the path you are pasting contains spaces.
The first space in your pasted path is what caused the misleading error
message you got. ; )
I don't know what the cd /D does...., and I don't know where the spaces are. Please write a "for dummies" answer. Thanks in advance.