Tech Support Guy banner
  • Please post in our Community Feedback thread for help with the new forum software! If you are having trouble logging in, please Contact Us for assistance.
Status
Not open for further replies.
1 - 2 of 2 Posts

·
Registered
Joined
·
273 Posts
Discussion Starter · #1 ·
I need to write a batch file that copies a text flie from a network share to a folder in a computer. This what I tried to no avail:

copy \\network share root\network share folder\file to copy c:\folder to copy file to
 

·
Retired Moderator
Joined
·
106,726 Posts
Make sure you use "" around all the long file names.

copy "\\network share root\network share folder\file to copy" "c:\folder to copy file to"

For instance.

copy "\\bobbi\c\Quicken Backup Files\qdata.qel" c:\temp

that one works.

copy \\bobbi\c\Quicken Backup Files\qdata.qel c:\temp

that one doesn't.
 
1 - 2 of 2 Posts
Status
Not open for further replies.
Top