batch file to copy from virtual machine to USB

Sebastian42

New member
Member
Local time
7:09 AM
Messages
60
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 My Computer

At a glance

Win7 Ultimate x32AMD Athlon(tm) II X2 260 Processor4Gb of which 3.75Gb usableNVIDIA GeForce GT 520
OS
Win7 Ultimate x32
CPU
AMD Athlon(tm) II X2 260 Processor
Motherboard
ASRock N68-VS3 UCC
Memory
4Gb of which 3.75Gb usable
Graphics Card(s)
NVIDIA GeForce GT 520
Sound Card
(1) NVIDIA High Definition Audio (2) High Definition Audio
Monitor(s) Displays
ViewSonic VA1938 & LG 566LM, both Generic PnP Monitors
Screen Resolution
1366x768 ; 1024x768
Hard Drives
SAMSUNG HD080HJ SCSI Disk Device
"copy C:\folder\** U:\folder"

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

My Computer My Computer

At a glance

Windows 7 Home PreQ8200 Intell 2.333DDR3 1333 4gigAti HD4870
Computer Manufacturer/Model Number
Home Build.
OS
Windows 7 Home Pre
CPU
Q8200 Intell 2.333
Motherboard
Asus P5Q3 Delux
Memory
DDR3 1333 4gig
Graphics Card(s)
Ati HD4870
Sound Card
Onboard Soundmax. 7.1
Monitor(s) Displays
1, 20" Samsung
Screen Resolution
1600/900
PSU
Good enough
Case
Le Shark
Cooling
FAN FAN FAN FAN, Thermaltake Minitype 90 with speed fan 4.
Keyboard
Standard, Gaming Wolfking
Mouse
Cm-storm-inferno-wired-gaming-mouse
Internet Speed
Sky Crappy upto 20meg I get a whapping 5.8mbs.
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 My Computer

At a glance

Win7 Ultimate x32AMD Athlon(tm) II X2 260 Processor4Gb of which 3.75Gb usableNVIDIA GeForce GT 520
OS
Win7 Ultimate x32
CPU
AMD Athlon(tm) II X2 260 Processor
Motherboard
ASRock N68-VS3 UCC
Memory
4Gb of which 3.75Gb usable
Graphics Card(s)
NVIDIA GeForce GT 520
Sound Card
(1) NVIDIA High Definition Audio (2) High Definition Audio
Monitor(s) Displays
ViewSonic VA1938 & LG 566LM, both Generic PnP Monitors
Screen Resolution
1366x768 ; 1024x768
Hard Drives
SAMSUNG HD080HJ SCSI Disk Device
copy "C:\folder\*.*" "U:\folder"

Will work....

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

My Computer My Computer

At a glance

Windows 7 Home PreQ8200 Intell 2.333DDR3 1333 4gigAti HD4870
Computer Manufacturer/Model Number
Home Build.
OS
Windows 7 Home Pre
CPU
Q8200 Intell 2.333
Motherboard
Asus P5Q3 Delux
Memory
DDR3 1333 4gig
Graphics Card(s)
Ati HD4870
Sound Card
Onboard Soundmax. 7.1
Monitor(s) Displays
1, 20" Samsung
Screen Resolution
1600/900
PSU
Good enough
Case
Le Shark
Cooling
FAN FAN FAN FAN, Thermaltake Minitype 90 with speed fan 4.
Keyboard
Standard, Gaming Wolfking
Mouse
Cm-storm-inferno-wired-gaming-mouse
Internet Speed
Sky Crappy upto 20meg I get a whapping 5.8mbs.
"U:\folder" IS in place.
Will try tonight and report afterwards.
 

My Computer My Computer

At a glance

Win7 Ultimate x32AMD Athlon(tm) II X2 260 Processor4Gb of which 3.75Gb usableNVIDIA GeForce GT 520
OS
Win7 Ultimate x32
CPU
AMD Athlon(tm) II X2 260 Processor
Motherboard
ASRock N68-VS3 UCC
Memory
4Gb of which 3.75Gb usable
Graphics Card(s)
NVIDIA GeForce GT 520
Sound Card
(1) NVIDIA High Definition Audio (2) High Definition Audio
Monitor(s) Displays
ViewSonic VA1938 & LG 566LM, both Generic PnP Monitors
Screen Resolution
1366x768 ; 1024x768
Hard Drives
SAMSUNG HD080HJ SCSI Disk Device
Back
Top