Directory List

  • Thread starter Thread starter Jerry
  • Start date Start date
J

Jerry

In XP and Vista there was a Command Prompt that caused a List of files or
folders to be generated on the Cdrive. I need the one for Vista if anyone
happens to know what it is. Also I would like the description of each
component of the command.

Thank You
 
Jerry said:
In XP and Vista there was a Command Prompt that caused a List of files or
folders to be generated on the Cdrive. I need the one for Vista if anyone
happens to know what it is. Also I would like the description of each
component of the command.

Would you like some coffee as well... or would tea be better?
 
there are two DOS commands that might help you

tree

and

DIR

in a command window type

tree /?
and
dir /?

for details
or
type help for a list of all commands and see if you spot something
interesting.

hope that helps

ORC
 
from the menu bar

"Start"
"run"
type cmd into the box and press okay

in the DOS window that opens type

cd \

to take you to the root of the drive

then type

dir /s >list.txt

after some time the cursor will return type

notepad list.txt

and a notepad should show you the results

Hope that helps

ORC
 
I tried that ORC, and did not work even in XP.
This works if I paste into the cmd prompt:

DIR "I:\" /s > "C:\List.txt"
where I is the drive, and can type in a folder on I drive if you want the
list of just that folder, and will generate the text file named List on the
C drive.
DIR "I:\Jack" /s > "C:\List.txt" would be used if you want just the folder
list named Jack.

This code does not work for Vista and know there is one and that is what I
need.
 
Jerry said:
I tried that ORC, and did not work even in XP.
This works if I paste into the cmd prompt:

DIR "I:\" /s > "C:\List.txt"
where I is the drive, and can type in a folder on I drive if you want the
list of just that folder, and will generate the text file named List on
the C drive.
DIR "I:\Jack" /s > "C:\List.txt" would be used if you want just the
folder list named Jack.

This code does not work for Vista and know there is one and that is what I
need.

"This code does not work for Vista and know there is one and that is what I
need"

Works fine for me on Vista Premium

chas2209
 
I don't have VISTA so I can't comment on the ability to use DOS under it -
but I would think it would be similar.

from your reply it looks like you have the principal of using DIR you just
need to make sure you are looking at the correct drive and folder

did you try DIR /? for instructions?

ORC
 
Jerry said:
I tried that ORC, and did not work even in XP.
This works if I paste into the cmd prompt:

DIR "I:\" /s > "C:\List.txt"
where I is the drive, and can type in a folder on I drive if you want the
list of just that folder, and will generate the text file named List on the
C drive.
DIR "I:\Jack" /s > "C:\List.txt" would be used if you want just the folder
list named Jack.

This code does not work for Vista and know there is one and that is what I
need.
If you're not willing to use Vista's built-in help system then Google
for "cmd help" or "dir help" and you'll find more than you need.

Bill
 
Back
Top