batch file to copy from virtual machine to USB


  1. Posts : 60
    Win7 Ultimate x32
       #1

    batch file to copy from virtual machine to USB


    If C:\ is the root of the virtual machine and U:\ is the USB stick, I can PERFORM "copy C:\folder\** U:\folder", but that line in a batch file does not work. How can I fix that ?
      My Computer


  2. Posts : 357
    Windows 7 Home Pre
       #2

    "copy C:\folder\** U:\folder"

    too... "copy C:\folder\.*" "U:\folder"
      My Computer


  3. Posts : 60
    Win7 Ultimate x32
    Thread Starter
       #3

    There was a typo. There should have been a '.' between the two *
    so the batch file actually reads [ c:\folder\*.* u:\folder ]
    without any ".
      My Computer


  4. Posts : 357
    Windows 7 Home Pre
       #4

    copy "C:\folder\*.*" "U:\folder"

    Will work....

    Also Ensure you have the "U:\folder" In place. Or use the MD command.
      My Computer


  5. Posts : 60
    Win7 Ultimate x32
    Thread Starter
       #5

    "U:\folder" IS in place.
    Will try tonight and report afterwards.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:35.
Find Us