Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-21-2007, 02:14 AM   #1
Anime:Any-may
 
mystvearn's Avatar
 
Join Date: Sep 2002
Location: Kota Bharu, Malaysia
Posts: 2,447
how to copy folder/file names and list it in wordpad/notepad?

Is there a way for me to copy the folder/file names from a specific hard drive and list it in wordpad/not pad? I don't want to print screen the screen and make it into a picture file. Thank you.
__________________
CPU: Intel E-5200. Graphics: Saphire Radeon 4770 HD 512 MB. Motherboard: Gigabyte GA-EP43-DS3L. Memory: Corsair XMS2 Xtreme Performance 4 GB ( 2 x 2 GB ), Chasis: Antec Three Hundred. PSU: Corsair CX400W. Optical Drive: Sony Optiarc SATA DVD +-RW. Storage: Seagate Barracuda 7200.12 500GB SATA. Peripherals: Dell E1905EP 19" UltraSharp LCD; LG M227WD (Dual screen), HP 4180 Printer, Canon S400SP Printer & Lide20 Scanner; Philiphs HP 890, Edifier MP230. OS: Win 7 (64 bit). Laptop: Toshiba Satellite M50
mystvearn is offline   Reply With Quote
Old 05-21-2007, 06:01 AM   #2
Ride 'em Cowboy
 
EzyStvy's Avatar
 
Join Date: Dec 1999
Location: Dallas, Tx
Posts: 9,109
There are tons of freeware that will do this...But you can go to a CMD prompt and change to the folder in question. type:

Dir *.* >filename.txt
You cna then open the text file in all sorts of different apps.
__________________
Stand Up 2 Cancer - SU2C
EzyStvy is offline   Reply With Quote
Old 05-21-2007, 06:07 AM   #3
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Open a command prompt (Start > run > cmd)
For example if the drive is X:\ then the command you type would be:
dir X: /On /s > list.txt
Open up list.txt in your notepad or wordpad

Basically what you've done is run the command 'dir' and sent the output to the text file list.txt
I used the following switches on the dir command.
/On : sort Order - by name (alphabetically)
/s : means show subdirectories
You can add more switches depending on the output you want .. to see all the options type dir /? and you can change the output to suit your needs .. like dir X: /s /w > list.txt .. or maybe dir X: /b /s > list.txt etc etc.
Statica is offline   Reply With Quote
Old 05-21-2007, 08:10 AM   #4
Anime:Any-may
 
mystvearn's Avatar
 
Join Date: Sep 2002
Location: Kota Bharu, Malaysia
Posts: 2,447
Thanks, but is there a way to remove the dates at the beginning of the file/folder names and the ? The I can remove using word delete command. Thank you
mystvearn is offline   Reply With Quote
Old 05-21-2007, 08:24 AM   #5
Ride 'em Cowboy
 
EzyStvy's Avatar
 
Join Date: Dec 1999
Location: Dallas, Tx
Posts: 9,109
Type: dir /?
to see the list of available options.
EzyStvy is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer Acronyms Floppyman Computer Hardware 156 06-18-2006 06:25 AM
Begining DOS help longrawker Windows Legacy Support (XP and earlier) 17 11-13-2004 11:55 AM
Windows services list snooker Windows Legacy Support (XP and earlier) 0 06-27-2004 11:05 PM


All times are GMT -5. The time now is 12:49 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2