Go Back   Tech Support Forum > Microsoft Support > Windows XP Support

capture directory contents to file

This is a discussion on capture directory contents to file within the Windows XP Support forums, part of the Tech Support Forum category. is there a way to capture the directory contents into a text or html file in winxp? i figure cuz


Closed Thread
 
Thread Tools Search this Thread
Old 02-16-2003, 10:07 AM   #1
Registered Member
 
diamondxl's Avatar
 
Join Date: Jun 2002
Posts: 60
OS: winXP


Send a message via AIM to diamondxl

is there a way to capture the directory contents into a text or html file in winxp? i figure cuz the gui is generally html based, the files should be already made somewhere dynamically or something.

basically i wanna take a huge amnt of files and make a list out of em, but i have 3 main lists. 2 are just a directory full of a few diff file extensions, but none are directorys. the other list is a directory full of about 50 subdirectories, some of which have subdirectories in themselves. i just need the list of the 50 original subdirectories.

how can i do this?

__________________
diamondxl is offline  
Old 02-16-2003, 10:40 AM   #2
Registered Member
 
Viper's Avatar
 
Join Date: May 2002
Posts: 72
OS: Win XP,


For a list of just the directories:
from a cmd prompt in the main directory (the 1 containing the 50 sub-directories) type dir /ad /b>list.txt, this will output the listing to the .txt file
For a list of all the files and directories omit the /ad parameter.

Hope this will help you.

this is a neat little app if you'd prefer html:

http://home.pacbell.net/nitzsche/dirhtml.html

__________________
Viper is offline  
Old 02-16-2003, 11:19 AM   #3
Registered Member
 
diamondxl's Avatar
 
Join Date: Jun 2002
Posts: 60
OS: winXP


Send a message via AIM to diamondxl
sweet, thats literally EXACTLY what i was looking for. this board rox hardcore
__________________
diamondxl is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off


Post a Question


» Site Navigation
 > FAQ
  > 10.0.0.2


All times are GMT -7. The time now is 11:58 AM.


Copyright 2001 - 2014, Tech Support Forum

Windows 7 - Windows XP - Windows Vista - Trojan Removal - Spyware Removal - Virus Removal - Networking - Security - Top Web Hosts