Solved

Copying the file from the remote server to local computer

Posted on 2011-09-09
6
228 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to useā€¦
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

759 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

20 Experts available now in Live!

Get 1:1 Help Now