Batch file syntax file

kretlaw

New member
Local time
10:48 AM
Messages
1
I'm trying to create a batch file that will copy some excel files from my usb drive to my c: .

this is what I'm putting in the command line.
e:
cd excelbak\exlbak13
copy *.* c:\program files\microsoft office\office12\excel

comment I get is invalid sytanx in command line...I'm thinking that it might be the Program files and the microsoft office that the command doesn't understand...

can someone please shed some light on this..thanks
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
toshiba
OS
windows 7 premium
Memory
4gb ram
try this:
Code:
e:
chdir excelbak\exlbak13
copy *.* "c:\program files\microsoft office\office12\excel"
 

My Computer

Computer Manufacturer/Model Number
Lenovo ThinkCenter, Custom Built PC, Acer Aspire V3-771G-9809
OS
Windows 7 enterprise 64 bit, Windows 7 Pro 64 bit ,Windows 8 64bit
CPU
Core i5-2400, Athlon 64 X2 6400+ ,Core i7-3632QM
Motherboard
ASUS M4A79 Deluxe
Memory
4GB, 4gb g.skill ddr2, 8gb
Graphics Card(s)
Radeon HD 4550 sgb, Radeon HD 4870, NVIDIA Geforce GT 650m
Monitor(s) Displays
dual samsung 22" monitors
Hard Drives
500GB, Western Digital WD Blue WD6400AAKS 640GB 7200 RPM 16MB Cache SATA 3.0Gb/s, 1TB
Case
Antec Twelve Hundred V3 Black Steel ATX Full Tower
Cooling
ASUS Silent Square Pro
Mouse
Razar Death adder
Internet Speed
20 mbps
Back
Top