Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: batch file to copy from virtual machine to USB


22 Jan 2012   #1

Win7 Ultimate x32
 
 
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 System SpecsSystem Spec
.

22 Jan 2012   #2

Windows 7 Home Pre
 
 

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

too... "copy C:\folder\.*" "U:\folder"
My System SpecsSystem Spec
22 Jan 2012   #3

Win7 Ultimate x32
 
 

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 System SpecsSystem Spec
.


22 Jan 2012   #4

Windows 7 Home Pre
 
 

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

Will work....

Also Ensure you have the "U:\folder" In place. Or use the MD command.
My System SpecsSystem Spec
22 Jan 2012   #5

Win7 Ultimate x32
 
 

"U:\folder" IS in place.
Will try tonight and report afterwards.
My System SpecsSystem Spec
Reply

 batch file to copy from virtual machine to USB




Thread Tools



Similar help and support threads for2: batch file to copy from virtual machine to USB
Thread Forum
Virtual XP Machine - Copy Tutorials
Batch file to copy files from C drive to USB Backup and Restore
Windows7 Batch File Copy Possible? Performance & Maintenance
How to Copy a Virtual XP machine Virtualization
How to copy a file from 1 pc to another pc in network using batch file General Discussion
Batch file copy made easy Performance & Maintenance
Using .vhd file from one virtual machine to other virtual machine Virtualization

Our Sites

Site Links

About Us

Find 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 11:57 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33