Jump to content

Recommended Posts

Posted

Hi,

 

Can someone help me with a Dos command? I want to copy a number of files from a number of subdirectories within a common folder where the subdirectories have the same name to a new location. eg computer\information\Friends\Phonenumbers\ and then computer\information\family\Phonenumbers , etc etc

Can I use xcopy or some other DOS command to call all files from the directories called (in the example) "Phonenumbers" to another location using one command line?

Thanks in advance for any help!

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

There is no point in doing what you ask unless you have so many that you can utilise the speed of DOS. (as in over a million numbers)

 

what format are the numbers stored in, WORD, EXCEL, NOTEPAD etc

Intel Q6600 @ 4Ghz (Watercooled)

Asus P5K premium black pearl

4GB OCZ Reaper 8500

260GTX

 

Join Free PC Help - Register here

 

Donations are welcome - here

 

PC Build

 

 

We are all members helping other members.

Please return here where you may be able to help someone else.

After all, no one knows everything and you may have the answer that someone needs.

Posted
Thanks for the reply Dalo, I think I should expand on my previous example. I have several folders (lets say "level 1") under one parent folder and each of these folders contains 4 more folders ("Level 2")which are commonly named. I am interested in getting all of the *.jpg files under a commonly named folder called "pictures" from each of these level 2 folders and copying them to a single folder, however the other commonly named folders on level 2 also contain jpg files so it is not as easy as me running a copy *.jpg command. I do not have a windows based tool to my knowledge which would allow me to provide this trick (I am running XP) so I had just wondered if I could be smart within DOS to do it for me. If not maybe you know of a Windows utility built into XP which can do this? Thanks!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...