Tech Support Guy banner
Status
Not open for further replies.
1 - 2 of 2 Posts

·
Registered
Joined
·
277 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
·
110,551 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