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
Sebastian42

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
mrdemon

Windows 7 Home Pre
 
 

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

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

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
mrdemon

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
Sebastian42

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
Thread Forum
Virtual XP Machine - Copy
How to Copy a Virtual XP Machine in Windows 7 Notice please: This tutorial was written when we were still using first beta versions of Virtual PC and XP mode. This method to copy a VPC virtual machine was the most practical at that time. It still is a fully working and secure way to copy a...
Tutorials
Windows7 Batch File Copy Possible?
Fellow Forum Members, I have two external hard drives I'm calling Hard Drive A and Hard Drive B. Hard Drive A & B are mounted to external USB cradles. Both USB cradles are connected to the same PC containing Hard Drive C. My objective is to transfer all data files, folders, sub folders from both...
Performance & Maintenance
How to Copy a Virtual XP machine
I have tried to make a copy of a virtual XP machine for backup purposes, but the new Virtual machine will not open. Any Ideas on the correct procedure to make a copy of an existing virtual machine?
Virtualization
How to copy a file from 1 pc to another pc in network using batch file
Help me make a batch file that copies a file from one computer to another computer in a network... PC1 = Source PC2 = Destination I want to copy a file from PC1's Drive E: to PC2's Drive E:
General Discussion
Using .vhd file from one virtual machine to other virtual machine
Hi, I am using MS Virtual PC v6.1.7600.16393. I had created a virtual machine on my system, which has been deleted now, but I have .vhd file created for that virtual machine. Now I am trying to create a new virtual machine by using the previous .vhd file. Unfornunatly, when I start...
Virtualization
How to make a multible copy batch file
Below is a batch file I created to copy all the files from a program called A5V5. This batch file works to copy the files to two different drives What I want to do is if the J: Directory is not availble (This is a flash drive) that it will copy to the E:\ directory which is a second HDD and not...
Software


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 04:03.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App