PDA

View Full Version : Folder Contents-WIN XP Pro



Matt8
February 16th, 2003, 20:21
Is there anyway to like get a list of the folder contents that I could open in notepad or something similar?

I am using Windows XP Pro. Thanks

Bruce
February 16th, 2003, 21:19
Start > Run > cmd

dir MyFolder > MyList.txt

Matt8
February 16th, 2003, 21:30
Originally posted by Bruce
Start > Run > cmd

dir MyFolder > MyList.txt

This is what I get

Cagez
February 16th, 2003, 21:44
Mabe try the full path

cd C:\
dir C:\My Documents\My Music > listing.txt

I did similar to that and it worked

Bruce
February 16th, 2003, 21:53
Matt, I'm sorry; I guess I shouldn't have assumed you knew your way around the command prompt. ;)

Do this:

First change to the root C:\ directory:


cd C:\
Then:

dir "My Documents\My Music" > list.txt
The text file will be saved to the C:\ directory.

Matt8
February 16th, 2003, 22:43
Matt, I'm sorry; I guess I shouldn't have assumed you knew your way around the command prompt.

Nope, I am not very skilled when it comes to that. I used to use it back it the DOS days, but that skill left me the day I got a win 98 computer

Ok, I got that down. There isn't anyway to do all subfolders is there? Or would I have to go one by one?

Coolin
February 16th, 2003, 23:30
Try dir /s "My Documents\My Music" > list.txt

Matt8
February 17th, 2003, 17:03
Thanks

(And I have to use "Documents and Settings\Matt\My Documents\My Music" to make it work)