bestbuildpc: Forums
 

 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how do u copy multiple folder titles from external hardrive?
 
 
Post new topic   Reply to topic    bestbuildpc Forum Index -> Tutorials/Manuals/Tricks -> Windows 7
View previous topic :: View next topic  
Author Message
bestbuildpc
Site Admin
Site Admin


Joined: Jun 30, 2012
Posts: 177
Location: NL

PostPosted: Sat Jul 28, 2012 12:48    Post subject: how do u copy multiple folder titles from external hardrive? Reply with quote

Hello Guys!

How do you copy multiple folder titles from from another hard drive?

Note: Do this first if you have Windows 7

What happened to the Run command?

The Search box that appears on the Start menu in this version of Windows provides much of the same functionality as the Run command. However, the Run command is still available if you prefer to use it. You can even add it to the Start menu for easier access.

To add the Run command to the Start menu


Open Taskbar and Start Menu Properties by clicking the Start button , clicking Control Panel, clicking Appearance and Personalization, and then clicking Taskbar and Start Menu.

Click the Start Menu tab, and then click Customize.

In the list of Start menu options, select the Run command check box, and then click OK. The Run command will be displayed on the right side of the Start menu.

==================================================================================================================================================


Code:
Then go to Start, Run, cmd and it will open to the above directory.

At the command prompt type:

cd .. several times until you get  C:\>
Type
C:\>I: Press Enter
Type H:\>Now you are in the hard drive where you want to copy the folder titles but the folder titles are in one specific folder. So we need to be in that folder.
Type H:\>cd musica and press enter  (musica is the folder where all the folder titles are)
H:\>music>Now we are in the specific folder where all our folder titles with contents are but we're only gonna copy the names of all those folders.
Type dir /ad >list.txt
hit Enter.


This will create a text file named "list" of all items in the directory that has the "Directory" attribute. You will find the .txt file in the same folder.

You can then open Excel and go to File, Open. Change to All file types and browse to the same folder to find it.

Hopefully you have opened a text file in Excel before. Otherwise just follow the prompts to get it open in Excel and then delete columns as needed.
Do save it as an Excel worksheet though versus a .txt file when prompted.

That's all folks!

Smile
  
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    bestbuildpc Forum Index -> Tutorials/Manuals/Tricks -> Windows 7 All times are GMT + 2 Hours
 
 Page 1 of 1

 

Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001-2008 phpBB Group
 
Forums ©