Batch for search and copy in Win7

Discussion in 'Scripting' started by Blocksberg, Mar 21, 2014.

  1. Blocksberg

    Blocksberg MDL Novice

    Mar 21, 2014
    1
    0
    0
    Hello
    i need help
    i need a special batch with the following specials to start in a win7 64 bit home:

    I will make only one click then the batch must start:

    search in drive A, B, C and D for the folder/file with the name "cave"

    this folder "cave" maybe has 60 GB
    if found - the batch has to copy this folder/file "cave"
    into the drive M and there in the folder/file "test"


    I've searched a few days for a solution.
    but I can not

    a specialist can help me here?

    Blocksberg
     
  2. Compo

    Compo MDL Member

    Mar 29, 2011
    136
    106
    10
    The usual method of execution in your OS is a "Double Click"
    Really! Your OS is using the drives usually reserved for 'Floppies' and they're capable of holding directories containing 60Gb
    What did you find? how much of the batch file have you got written so far?

    Why if you're using a Modern OS do you need a batch file solution, have you thought about using one of the other built-in scripting languages.