|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Anime:Any-may
Join Date: Sep 2002
Location: Kota Bharu, Malaysia
Posts: 2,447
|
program that can copy all folder names?
I have lots of folder names, all in alphabetical order. I want to transfer the names of the folders to word/excel or spreadsheet, without having me to write the names of everyone of it. Is there a software that can let me do this?
__________________
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 |
|
|
|
|
|
#2 |
|
Tanker Yanker
Premium Member
Join Date: Nov 2001
Location: Lewisville TX
Posts: 2,920
|
Just for the heck of it, I tried to copy a folder and pasting it in word, to see if only the name would appear.. No such luck word would not accept it period..
__________________
MB: DFI Lanparty UT-NF4 SLI-D/Processor AMD Athlon 64x2 Toledo/video Card:XFX 9800GTX+/Audio:Sound Blaster Audigy 4/Ram:Corsair XMS Extreme 4x1Gig PC3200/HD:1x150GBWestern Digital Raptor 1x80GB Segate Beracuda 7200 SATA /Monitor:ASUS VS247 H-P 23.6"/Keyboard Mouse:Logitech Cordless Wave/Speakers: Logitech G51/Printer/Fax/Scanner:Brother MFC-685CW |
|
|
|
|
|
#3 |
|
Member (10 bit)
|
If you can install the old Power Toys for Windows 95 (they work very well in Windows XP) there is a "SendTo" Powertoy that adds a lot of options to the Send To COntext Menu. Among the options added is one that lets you copy just the names of folders to memory.
Another simple way is to run a DIR>something.txt from a command window. This will create a new text file with the specified name that will contain all the folders as a list of names. You can then import the data to Word or Excel
__________________
[FONT=Arial][SIZE=1][COLOR=Navy][CENTER]Intel Core2Quad Q9550; EP45-UD3R (rev 1.1); 4x2GB DDR2 800MHz; eVGA e-GeForce 9600GT KO 512MB DDR3; Seagate ST31000528AS 1T, Seagate ST3500320AS 500GB SATA II, Seagate ST3500418AS 500GB SATA II; LG GH22-NS50 DVD-RAM x 2; DELL SP2208WFP; Windows 7 Ultimate 64-Bit Palm LifeDrive Mobile Manager |
|
|
|
|
|
#4 |
|
Ride 'em Cowboy
Join Date: Dec 1999
Location: Dallas, Tx
Posts: 9,109
|
HOW TO: Add a "Print Directory" Feature for Folders in Windows XP
SUMMARY This article describes how to add a "print directory" feature for folders in Windows XP. After you follow the steps in this article, you can right-click a folder, and then click Print Directory Listing to print a directory listing of the folder's contents.
__________________
Stand Up 2 Cancer - SU2C |
|
|
|
|
|
#5 |
|
Member (8 bit)
Join Date: Sep 2004
Posts: 167
|
open dos, goto disired directory and type:
dir /b will list all files and directories, with no other information right click on screen, and select "mark" high light the items you want and press enter (this will copy the text you selected), goto word and paste |
|
|
|
|
|
#6 |
|
Member (10 bit)
|
OK,
to expand a little on TheBranded's idea: Let's say you want to list all folders and files on drive F: The command DIR/B/S/ON F:>D:\f_files.txt in a command window will create a text file in the root of drive D: which will contain a simple list of all folders and the files (in bare format ie with no heading information or summary) they contain which exist on drive F:, sorted alphabetically by name. This will work from anywhere on your system, provided you type in the full and correct path to the folder/drive whose contents you wish to list. Of course, the target location for your text file output need not be the root of a drive. In that case, you must type the full path to the target folder eg: D:\Somefolder\F_Files.txt. Once you have this file, all you have to do is open it in Word, and then, selecting all text (Edit>Select All or CTRL+A), go to Table>Convert>Text to Table. In the dialog that pops up, look at the last section, Separate text at and check the radio button next to Other and in the box next to it, type in \ (path level separator). In the Table Size section, delete any value you find in the Number of columns box (this sets the number of columns to auto) and click OK. Wait a bit and voila, you have a brand new table containing your directory and file listing, with each level in a separate column. All you then have to do is to add a new row at the top with the required column labels. Now you can sort alphabetically just as with any other table in Word, or you can export it to Excel (Copy>Paste or Insert Object/File from within Excel). NPP Last edited by pillainp; 04-18-2005 at 01:30 PM. |
|
|
|
|
|
#7 |
|
Anime:Any-may
Join Date: Sep 2002
Location: Kota Bharu, Malaysia
Posts: 2,447
|
thanks, I did not know this command yet before. All I know was dir/w
|
|
|
|
|
|
#8 |
|
Forum Administrator
Staff
Premium Member
Join Date: May 2000
Location: Joplin MO
Posts: 37,777
|
If you want JUST the folder (directory) names, use the following syntax, make sure you are at the root prompt (c:\>)
dir /b /o:gn This will list your folder names first, in alphabetical order, followed by the files in your root directory. Copy and paste what you need into Word or Excel. dir/? will give you the syntax list with all possible switches. |
|
|
|
|
|
#9 |
|
Anime:Any-may
Join Date: Sep 2002
Location: Kota Bharu, Malaysia
Posts: 2,447
|
Is it possible for sorting the names out from multiple drives? I have same type of data on 3/4 hd so I want all in one sheet. I did like said above, but I need to do each for every drive.
|
|
|
|
|
|
#10 |
|
Ride 'em Cowboy
Join Date: Dec 1999
Location: Dallas, Tx
Posts: 9,109
|
command etc bla bla bla >YouMakeAFile.txt
The >filename.txt send all the info to a text file. You can then do whatever you want to it. |
|
|
|
|
|
#11 |
|
Forum Administrator
Staff
Premium Member
Join Date: May 2000
Location: Joplin MO
Posts: 37,777
|
What about pasting them directly from the command window into column A of a spreadsheet, then sort by name when you get them all pasted?
|
|
|
|
|
|
#12 |
|
Anime:Any-may
Join Date: Sep 2002
Location: Kota Bharu, Malaysia
Posts: 2,447
|
that is possible, no harm doing that
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|