Solved

Copying the file from the remote server to local computer

Posted on 2011-09-09
6
230 Views
Last Modified: 2012-05-12
Hi all,
I would like to copy a file from the remote server to the computer. I used this command below but I did not work
copy \\cob-filep-01\groups\IT\Systems Support and Operation\Long\tst.txt c:\long
I received this error msg.
The system cannot find the file specified.
Could you give me some idea, please? I might use the incorrect command.
0
Comment
Question by:dongocdung
6 Comments
 
LVL 11

Accepted Solution

by:
jimbecher earned 167 total points
ID: 36513060
It sounds like you are doing it from a command prompt. Put the first part in quotes:

"\\cob-filep-01\groups\IT\Systems Support and Operation\Long\tst.txt"

It might be easer for you to do it with Windows Explorer
0
 
LVL 35

Assisted Solution

by:Joseph Daly
Joseph Daly earned 166 total points
ID: 36513061
You need to enclose any path with spaces in quotes

copy "\\cob-filep-01\groups\IT\Systems Support and Operation\Long\tst.txt" c:\long
0
 

Author Comment

by:dongocdung
ID: 36513117
it said the network name cannot be found. It used this:
copy "\\cob-filep-01\groups$\IT\Systems Support and Operation\Long\tst.txt" c:\long
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 11

Expert Comment

by:jimbecher
ID: 36513136
ARe you sure it is a good location? I am going to go back to using Windows Explorer. See if you can browse to that file with Windows Explorer...
0
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 36513202
If c:\long is the directory you want to copy it to then you need a slash at the end

copy "\\cob-filep-01\groups$\IT\Systems Support and Operation\Long\tst.txt" c:\long\

Otherwise if long is the filename then you need.

copy "\\cob-filep-01\groups$\IT\Systems Support and Operation\Long\tst.txt" c:\long.txt
0
 
LVL 9

Assisted Solution

by:user_n
user_n earned 167 total points
ID: 36527462
try this program winscp
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now