DOS Batch update file

Trying to create a DOS BATCH file to copy an access database over from one location to another.

My source path is \\hq-file1\Files and Docs\Database\
My destination path is \\hq-file1\Files and Docs\Database\Vegas\

My issue is that dos does not recognize the "Files and Docs" name and I don't know how to represent the DOS equivalent of the file folder.  


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lee W, MVPTechnology and Business Process AdvisorCommented:
Put the paths you are copying from in quotes.

"\\hq-file1\files and docs\database"
"\\hq-file1\files and docs\database\vegas"
dennisliabenowAuthor Commented:

here is my actual command line:

copy \\Hq-file1\Files and Docs\database\ucmt.mde \\Hq-file1\Files and Docs\database\SaltLake\Acct\ucmt_Test.mde

So do I put the quotes at the very begining and end or at the beginning and end of each path statement?
Lee W, MVPTechnology and Business Process AdvisorCommented:
Here's the command you should use (and whenver possible, especially with share names, DON'T USE SPACES).  With file and folder names you can use the 8.3 characters on them.  Share names don't have that.

copy "\\Hq-file1\Files and Docs\database\ucmt.mde" "\\Hq-file1\Files and Docs\database\SaltLake\Acct\ucmt_Test.mde"

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 2000

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.