[Q] how to copy files with the untouched directory structure of search results of Win7?

Hello, I'm trying to easily copy a group of files found via a search in Windows 7 on another drive, but keep their structure intact directories, i.e.:

1. search and find files in this directory:
c:\Testing\My Files\file *. *
c:\Testing\My Files2\file *. *

2 copy the search results
3. stick to
d:\Testing\My Files\file *. *
d:\Testing\My Files2\file *. *

You would think there would be a toggle or a framework of Ontario Regulation or something similar to get there.  I can understand the need to make a copy of flat file as it does now... but is there a way to preserve the folder structure when copying?  Thank you-


It's perhaps too tedious for you.

You might select all search results and then shift-right click, select copy in the path. Paste the paths in Word and replace the entire paragraph is back with the Xcopy command for example


^ p


"" F:\DestinationFolder/s ^ p xcopy ".

If you intend to do a lot, you can have a blank Word document with a macro to do the work for you. You would need to remove the last line it will be just a part with 'xcopy' with no file name.

You can then paste the final results in a batch file.

Tags: Windows

Similar Questions

  • BlackBerry smartphone how to copy files from the PC to BB

    How to copy files from the computer to the BlackBerry 9700?  I have a couple of Word and Excel files, I like to keep it with me on the BB.

    Thank you.  I didn't know that I had to hit edit.  I have never when I had my iPaq.

  • How 'old' games, files with the extension *.gam

    How 'old' games, files with the extension *.gam?

    I am trying to find and run style old text adventure games.  I downloaded "ccr.gam" but it has nothing related to this extension and I can't find what I need.  HELP please.


    Depending on the platform, so that the game was up, there may be an available emulator that will allow you to run them. Looking for the name of the platform and "emulator" can give results. If they are DOS based games, DOSBox is an emulator like this.

  • How to transfer files with the ad hoc network

    I was looking for a way to transfer files between 2 PCs via ad-hoc, but I can't. Can someone help me please?

    You could try: sharing files with the public folder


  • followed all the instructions to copy files in the profile directory failed

    all files named from the old profile are new profile when firefox look any of the bookmarks etc are displayed - what to do now?

    "... "'old' files appear in the new profile but are re-created after firefox starts empty.

    Sounds like Firefox cannot have been closed completely when the files have been copied, or the copy and replace files with the same name did not. Windows should have asked if you want to replace each old file with the 'copied' version, and that didn't happen to you ignored.

    Or you copied the files in the profile \Local Sattings\App Data\ folder and not the profile folder OK \App Data\ - , but that would not have re-created empty files.

  • Path and how to deliver files with the application


    I would include 3 PDF files with my application. What are the different ways to do? How to do?

    Thank you

    Joe Green

    I think the following should work:

    uri: "local:///docs/2011.pdf"

    Let me know.

  • How to share files with the airport?


    I have the new airport Time Capsule (2 TB).  I would like my wife to be able to access all my pictures, that are in files on my computer that I save on airport using Time Machine.  She uses several products Apple (iPhone, Macbook Air).

    What is the best way to do it?

    Is there anyway to access pictures in my backup Time Machine?

    If this isn't the case, I think I can just create a folder on the Time Capsule and copy files, which would be accessible on the Time Capsule via shared in the Finder.  But I see 2 disadvantages of the present.  I must first of all, don't forget to update this file manually.  Secondly, my photo files are about 70 GB and it seems like a waste of space, to have it on the Time Capsule twice.  So that means less space for my backups, the backup history go back less far, right?

    Thanks for explaining!


    On your computer, turn on sharing files via sharing preferences. In the first list box, add the folders on your computer that you want to share. In the second list box your will see the users default access. Simply add your wife's name to the list. You can create a new account on it to connect to your computer or you can just give your credentials so it can connect directly to your user account. Or you can change the privileges of everyone from r/o r/w.

  • Create a file with the installation program structure


    I am trying to create a .exe of my program and it gives users, then helping them install the engines of execution (labview and Visa), finally, I create a few folders on desktop there and add a couple of fichiers.txt/.ini and .bat to these folders. The user then goes through some initial configuration to tell the program to use these files/folders for data entry and record data in this place.

    I want to make this process much simpler by using the installer of labview, I can get this to install my program and all necessary computer execution engines, target but I express this to create the folder structure on the desktop of users and then saying my program where it is. I think I am only telling my program the path of the file of these folders created may be a little complex, but it would be nice to have.

    I'd be happy to create just the files on the desktop and adding the fichiers.txt/.ini/.bat. Any help with this will be appreciated

    Thank you

    Of course, here it is saved back to 8.2.

    Have fun!


  • Error during the installation of Windows Search 4.0, 'an error occurred during the file copy Search.adm. Cannot copy file in the destination directory. »

    • Configuration displays error "check the log (C:\WINDOWS\KB940157.log) file.
    • Log file includes the following error - 108.625: VerifySize: could not get the target size of the file: C:\WINDOWS\system32\GroupPolicy\ADM\Search.adm

    No idea how to address this sort of WS4.0 installs?



    You made any hardware or software changes the computer recently?

    You have Service pack 3 is installed? If not, install Service Pack 3 first, and then try to install Windows Search 4.0.

    Try these steps and let me know the status.

    Follow the suggestions given by dbrockus from the link given as dated Wednesday, February 4, 2009:


    Also, see this Microsoft article on how to take the permissions of a folder: http://support.microsoft.com/kb/308421

    I hope this helps.

  • How to open files with the .eml extension in Windows 7 Professional

    How to open e-mails that have been saved in the .eml format in Windows 7?  I can record e-mails on my server that works under XP and when I click to open the saved email it opens the e-mail.  When I try to open them from the workstation that is running windows 7, it doesn't do anything but open my email program no real email.  It worked for awhile, but now it doesn't.  I tried to change the "open with" and choose Windows Live Mail (my e-mail program on the two compters) but same thing opens just the real Windows Live Mail not e-mail.  Help, please

    I found the solution: Set Window Live Mail (WLM) defaults for EML files in Winodws 7:

    Control Panal, programs. Set your Defailts to choose default programs, Windows Live Mail, for this program.  Make sure the EML files is checked.

    It's another forum by Mike - http://TechHelp.Santovec.us

  • How to copy files on the USB key using batch script even if the drive letter for the USB v.

    I am trying to create a batch file that will copy: C:\My Folder\myfile.txt on a USB key. I created the file "Tango.spe" on the USB and used the "If exist' readers in order to search for the file on USB connected." "

    Here is my code so far:

    off @echo

    If exist D:\Tango.spe set variable = % BKPDRV %

    If exist E:\Tango.spe set variable = % BKPDRV %

    If exist F:\Tango.spe set variable = % BKPDRV %

    If exist G:\Tango.spe set variable = % BKPDRV %

    If exist H:\Tango.spe set variable = % BKPDRV %

    If exist I:\Tango.spe set variable = % BKPDRV %

    If exist J:\Tango.spe set variable = % BKPDRV %

    If exist K:\Tango.spe set variable = % BKPDRV %

    If exist L:\Tango.spe set variable = % BKPDRV %

    If exist M:\Tango.spe set variable = % BKPDRV %

    xcopy/y/i/h/k/e 'C:\My Folder\myfile.txt' % BKPDRV %

    Can someone tell me what I am doing wrong?

    Thanks in advance :)

    Salvation, Andes,
    Please go to the Microsoft Community Forums.
    This problem would be better suited to the MSDN Forums community.
    Please visit the link below to find a community that will provide the support you want.
    Thank you.
  • How to copy clips with the sequence markers?


    Anyone know if it is possible to copy clips from one scenario to another with markers (not the clip markers) above them? I have found no way to do it, but maybe someone has an idea, I thought.

    Thanks in advance!


    It is not possible.

    The best you can do is nesting the sequence so that the sequence markers will appear as clip markers in the nest.  From there, you can duplicate these markers.

  • COPYING FILES WITH the COPYFILE file system object

    I'm trying to use it in HPS:

    var objFSO = new JOOLEObject ("Scripting.FileSystemObject");
    objFSO.CopyFile "C:\FSO\*.txt", "D:\Archive\".

    But it does not work.

    This function is ok?

    Try the 2 slashes instead of 1

    and reverse the settings

    objFSO.CopyFile (destination, Source)

    Published by: [email protected] on August 27, 2009 11:25

  • I have copy of old tbird and seamonkey e-mail files with the files and emails for each. I need to add to new tbird install. can not find a way to do it. Help

    I have copy of old tbird and seamonkey e-mail files with the files and emails for each. I need to add to new tbird install. can not find a way to do it. HELP PLEASE. previous e-mail files are under mail then mail.earthlink* .net and each of the five mail .net is an email address I have. I can't find a way to identify each file by email to the specific email address (IE mail.my E-mail name.net) so I can copy the files and emails from the past to the email addresses now under tbird. previous installed e-mail identities may not be the current configuration of e-mail files in tbird. I think that I must be sure that mail.name.net matches the previous mail.name.net to be able to copy and paste the old to the new. is there a way to find the file name correct the old email and correspond to the new? all my emails very important information are mostly in the old mail electronic id and must be available in the identification of email again (but same) how can I do this?


    Use this module.


  • How to copy and paste the image parameters to image with ACR 9.1.1

    How to copy and paste the image parameters to image with ACR 9.1.1

    Hi nicholast15140269

    • You can save the current settings of the image or can save them outside in the form of XMP file. Then use as a preset.


    ~ Assani

Maybe you are looking for

  • How can I disable nsurlsessiond eat all my bandwidth!

    How can I disable nsurlsessiond eat all my bandwidth! I have to pay for cellular internet connection (without dal or satellite here): it is KILLING me!

  • How can I activate mode lost and in the air of the ipad?

    I put my air of Apple ipad to lost when she was taken without permission. I used "find my phone" app to track down. After retreaving, I don't know how turn it back on or take off the lost mode. I went through "icloud" and "devices" to try to unblock,

  • Satellite Pro A200 wireless issue sometimes disconnects

    Hello I have a Satellite Pro A200 with a wireless issue.I use home wireless. Every now and then while surfing it won't find the page. I try to connect via my VPN connection I have for the office.If you click Cancel, it will sometimes continue surfing

  • synchronize slides with recorded narration

    I try to synchronize and save slide show with balls and slides synchronized with the recorded narration but recorded track replay in registration mode although it plays fine in playback mode.

  • WRT1900AC the optimum settings for the speed?

    What are the optimal settings for my v1 WRT1900 AC to reach more high-speed wireless? ISP: Time Warner Cable - I have now 300 Mbps service download / 20 Mbps upload Modem: Motorola/Arris - SB6183 I can has reach 350 MB/s download / 24 Mbps upload con