03-06-2005, 08:02 PM | #1 (permalink) |
And we'll all float on ok...
Location: Iowa City
|
Make a list of folders?
Here's what I want to do...I want a text file of folder names at a given location. Is there a program that can do this for me?
__________________
For those who believe in God, most of the big questions are answered. But for those of us who can't readily accept the God formula, the big answers don't remain stone-written. We adjust to new conditions and discoveries. We are pliable. Love need not be a command or faith a dictum. I am my own God. We are here to unlearn the teachings of the church, state, and our educational system. We are here to drink beer. We are here to kill war. We are here to laugh at the odds and live our lives so well that Death will tremble to take us. --Charles Bukowski |
03-07-2005, 06:08 AM | #5 (permalink) |
Crazy
|
Not sure what version of windows you're using, but this should work with all versions
1) go the the command prompt (command or CMD) 2) type dir /AD /ON > directories.txt And there you go. It will create a file called directories.txt which will have all the directories listed, in alphabetical order. |
03-07-2005, 06:50 PM | #7 (permalink) |
And we'll all float on ok...
Location: Iowa City
|
That does the trick well enough. THanks for your help, everyone.
__________________
For those who believe in God, most of the big questions are answered. But for those of us who can't readily accept the God formula, the big answers don't remain stone-written. We adjust to new conditions and discoveries. We are pliable. Love need not be a command or faith a dictum. I am my own God. We are here to unlearn the teachings of the church, state, and our educational system. We are here to drink beer. We are here to kill war. We are here to laugh at the odds and live our lives so well that Death will tremble to take us. --Charles Bukowski |
03-14-2005, 09:28 AM | #8 (permalink) |
I flopped the nutz...
Location: Stratford, CT
|
similar to vinaur's solution, nav to the top level folder in a cmd prompt, and typs:
dir /s > c:\files.txt the output will be c:\files.txt not sure what all the other switches V is listing.....dir /s will give you everything.
__________________
Until the 20th century, reality was everything humans could touch, smell, see, and hear. Since the initial publication of the charted electromagnetic spectrum, humans have learned that what they can touch, smell, see, and hear is less than one millionth of reality |
03-14-2005, 02:50 PM | #9 (permalink) | |
Insane
|
Quote:
The /ad switch is used to display only directories. You can display only hidden files (/ah), system files (/as), read-only, and so forth. The /a stands for attribute. The d stands for directory. The /on is to order the directories by name. The /s is to display the sub directories. By doing dir /s you are going to get a humangous list with a lot of info that you don't need. |
|
03-15-2005, 06:14 AM | #11 (permalink) | |
I flopped the nutz...
Location: Stratford, CT
|
Quote:
I don't agree about /s though....it lists only date, time, top folder, and files/folders within....all pertinent info IMO.
__________________
Until the 20th century, reality was everything humans could touch, smell, see, and hear. Since the initial publication of the charted electromagnetic spectrum, humans have learned that what they can touch, smell, see, and hear is less than one millionth of reality |
|
03-15-2005, 06:20 AM | #12 (permalink) | |
Insane
|
Quote:
|
|
Tags |
folders, list, make |
|
|