[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-

Advertisement

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

Replace

^ p

with

"" 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.

    Octavmandru

    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

    http://Windows.Microsoft.com/en-GB/Windows-Vista/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

    Hello

    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?

    Hello

    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!

    Tyler

    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

    Hello

    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!

    Shaun

  • 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?

    INTELLECTUAL PROPERTY

    Hello

    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:

    http://social.msdn.Microsoft.com/forums/en-us/windowsdesktopsearchhelp/thread/f8882314-da75-4142-a889-50c1983dc1e8

    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.

    Hello!
    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 :)
    Andes

    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.
    http://social.msdn.Microsoft.com/forums/en-us/categories
     
    Thank you.
  • How to copy clips with the sequence markers?

    Hello

    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!

    mchl

    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?

    http://KB.mozillazine.org/Importing_folders

    Use this module.

    https://addons.Mozilla.org/en-us/Thunderbird/addon/ImportExportTools/

  • 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.

    Concerning

    ~ Assani

Maybe you are looking for

  • I get no option restore when I hold down the cmd key

    I have a mac mini with a 2.53 GHz with 4 GB of RAM and 500 GB two HD (a server) end of 2009. I bought the mac mini 2nd hand and restored with a copy of my mac book pro 2010 running El Capitan. I restored it by pressing the command and r after that re

  • An appropriate case or cover to Yoga 2 8 Tablet?

    Nobody here don't know or use a good case/cover for their Yoga 2 8 "tablet and if so, where did get it? I have some on eBay and Amazon have looked but can not make my choice. All answers gratefully received.

  • PCI-8335 (MXI-3) when the fiber is connected to the map PCI8335-> PC freezes

    When I connect the fiber on the map of PCI8335, the Tower Mini of PC DELL Vostro 220 Desktop freezes (software, mouse, keyboard)If, during startup, the fiber is not connected, the PC starts and everything works normally (with the exception of the com

  • CQ2100NL

    Hi all I just reinstalled windows XP on my sons computer he had a few problems we could not overcome, but miss me some software if the devices do not work well. -ethernet controller -network controller PCI device- SM - buscontroller -Video controller

  • Problem with my monitor Dell 24 "with my T42