troubleshooting Question

creating a batch file to copy a file

Avatar of monicamd
monicamd asked on
Microsoft DOSWindows Batch
6 Comments2 Solutions631 ViewsLast Modified:
I have created a batch file to copy a file to a specific location.  The text is below.

copy g:\grc.dat C:\Documents and Settings\All Users\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5

When I run the command in DOS I get the error message "The syntax of the command is not correct"  If I remove the spaces, I get the error "the specified file location does not exist"  Can someone tell me what I'm doing wrong and how to make this work.

Thanks,
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros