Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 05-28-2004, 05:42 AM   #1 (permalink)
Psycho
 
soopafreek's Avatar
 
Location: ask your mom
creating a "contents" list for a directory?

i was wondering if there is a way to create a listing of the files/subfolders i've got on a directory... (maybe via the command prompt?)

here's the deal. i compiled a utilities disk containing programs (like OpenOffice, SpyBot, and diagnostic tools) that gets updated maybe once a month.

i've got a folder on my drive that i burn from to create the new utilties disk.

is there a way to get XP to create a listing so i can put a little readme file with the disk's contents on the disk prior to burning?

thanks.
__________________
aaarrrrrgggghhhh!!!!
soopafreek is offline  
Old 05-28-2004, 05:43 AM   #2 (permalink)
"Officer, I was in fear for my life"
 
hrdwareguy's Avatar
 
Location: Oklahoma City
go to a command promt in that directory and type the following:

dir > readme.txt
__________________
Gun Control is hitting what you aim at

Aim for the TFP, Donate Today
hrdwareguy is offline  
Old 05-28-2004, 05:47 AM   #3 (permalink)
Psycho
 
soopafreek's Avatar
 
Location: ask your mom
wow, that was a quick response!...

it worked, but only listed the first level of folders. any way to get the subfolders/subfiles listed? or do i have to create a readme for each folder then merge it manually into one?

thanks!
__________________
aaarrrrrgggghhhh!!!!
soopafreek is offline  
Old 05-28-2004, 06:11 AM   #4 (permalink)
Psycho
 
This will give you a listing with subdirectories:

dir /s > readme.txt
intecel is offline  
Old 05-28-2004, 08:06 AM   #5 (permalink)
"Officer, I was in fear for my life"
 
hrdwareguy's Avatar
 
Location: Oklahoma City
Quote:
Originally posted by intecel
This will give you a listing with subdirectories:

dir /s > readme.txt
Yep, that's the one
__________________
Gun Control is hitting what you aim at

Aim for the TFP, Donate Today
hrdwareguy is offline  
Old 05-28-2004, 09:06 AM   #6 (permalink)
Stop. Think. Question.
 
rubicon's Avatar
 
Location: Redondo Beach, CA
In 2000/XP you can also use the TREE command. At the root of your drive, type:

tree /a > readme.txt
__________________
How you do anything is how you do everything.
rubicon is offline  
Old 05-28-2004, 02:44 PM   #7 (permalink)
"Officer, I was in fear for my life"
 
hrdwareguy's Avatar
 
Location: Oklahoma City
Tree will give you the directory structure, but it will not list the files for you
__________________
Gun Control is hitting what you aim at

Aim for the TFP, Donate Today
hrdwareguy is offline  
Old 05-29-2004, 08:03 AM   #8 (permalink)
Psycho
 
soopafreek's Avatar
 
Location: ask your mom
sweet! thanks guys.
__________________
aaarrrrrgggghhhh!!!!
soopafreek is offline  
 

Tags
contents, creating, directory, list

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 03:40 PM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38