|
|
|
xcopy from Network
Showing all messages in thread #1231883568 Windows 2000 Annoyances Discussion Forum
The following are all of the messages in this thread (8 in all), shown in chronological order. Click any message subject to view that message by itself or to view the thread hierarchy.
|
xcopy from Network
Tuesday, January 13, 2009 at 1:52 pm Posted by Darren
(137 messages posted)
I'm trying to copy a folder from my company network to the C drive with xcopy, but
it does not want to do it regardless what I try.
I used syntax:
xcopy \\CompName\MyFolder\Subfolder C:\NewFolder /d /e /c /i /h /r /y
and also I tried mapping MyFolder to F: and copying then:
xcopy F:\Subfolder C:\NewFolder /d /e /c /i /h /r /y
I've read that xcopy can have issues over network but did not find any solution for
it.
Thanks
[Reply or follow-up to this message]
| |
re: xcopy from Network
Tuesday, January 13, 2009 at 8:19 pm Posted by C K
(6910 messages posted)
Since it is a company network, you need to contact the IT dept, or the IT administrator.
If it is a server that you are accessing, then the possible scenerio's are, file/folder/drive
permissions or user permissions, and/or commands that are disabled/blocked. Only
they can help. It is frowned on to offer advice when we don't know if what you are
doing violates company policy (or at least no one should be on this forum)... Sorry
XCOPY will work if there is no security in the way usually but you need to contact
the appropriate person in your company to find out.
[Reply or follow-up to this message]
|
re: xcopy from Network
Tuesday, January 13, 2009 at 10:33 pm Posted by Darren
(137 messages posted)
It is not about me not being allowed to that folder. As a matter of fact, I have
read/write rights on it, the folder is used only by my team, I am saving my own files
there, together with few other people (who report to me by the way).
I wanted to make a script to automate backup of that folder.
All those files (not corrupt) I can copy anyway by using Windows Explorer, but that
is a manual operation and I wish to use this small script.
Besides, when using Windows Explorer, it would copy about 80% of the content and
then report error during copying process and stop copying even the files that are
not corrupt.
xcopy has ability to continue copying after an error but I do not think you can tell
windows explorer to skip the corrupted file and continue copying. Correct?
Thanks
[Reply or follow-up to this message]
|
re: xcopy from Network
Wednesday, January 14, 2009 at 7:30 am Posted by Darren
(137 messages posted)
I've read your response again and there is one thing I am not clear about - Do you
think that copying with xcopy and copying with Windows Explorer would require different
administrative privileges?
Thanks again
[Reply or follow-up to this message]
|
re: xcopy from Network
Wednesday, January 14, 2009 at 7:51 am Posted by C K
(6910 messages posted)
Explorer has it's own rules and is so limited so, no, when an error occurs, it will
stop copying without a response from you or just close all together. There are better
programs/utilities that can replace Explorer, and much more powerful.
I have used Powerdesk
http://eu.v-com.com/product/PowerDesk_Pro_Home.html
on peer to peer for years, but if you are in a server system in your company, you
wouldn't believe the amount of permissions that are available. Some are set by default
unless changed by the admin. I don't know if Powerdesk can be used in environment
such as yours. I've never tried it like that. Since I don't know your companies
config, and can't see how the server/system is set up, I/we can't give specific info.
Yes, there are issues over a network if the correct commands aren't used (and a host
of other issues), and XCOPY can fail in multiple instances, but again, really trying
to troubleshoot these types of issues from a forum is just about impossible. If
you are using W2K/XP Pro, then you can have issues with permissions set at both the
server and the workstations. Only your IT would know that. That's one reason the
admin (if it isn't you) should be the one involved, even from the standpoint of "if
something goes wrong" it is their butt on the line as well as yours. :-(
As for writing a script, it may be possible and it may not. Again it comes back
to what I just described earlier. It is just about impossible to help on a forum
when we don't know and can't see what you are working with... :-(
What I do know is that there may be options to automatically do some (if not all)
of what you want. It just depends on the capability of your IT staff and their knowledge
of available software and how best to supply the needs of your company. Today, there
are few things that can't be done with the correct software, knowledge of the systems
in use and how to implement the same for the clients and employees needs.
Sorry if it sounds like a rant, but you might be surprised on how many businesses
fall into a catagory of not properly administering and securing their systems, and
not withstanding, suppling their employees with the correct support to enhance and
improve their productivity..
[Reply or follow-up to this message]
|
re: xcopy from Network
Wednesday, January 14, 2009 at 8:17 am Posted by DEX
(11847 messages posted)
Dealing with Unwanted Spyware and Parasites
Click Here
do this run>cmd then type xcopy /?
it will show the commands/switches
Are you a wood worker ?,if so Click Here
On Wednesday, January 14, 2009 at 7:30 am, Darren wrote:
>I've read your response again and there is one thing I am not clear about - Do you
>think that copying with xcopy and copying with Windows Explorer would require different
>administrative privileges?
>Thanks again
[Reply or follow-up to this message]
|
re: xcopy from Network
Wednesday, January 14, 2009 at 8:48 am Posted by Darren
(137 messages posted)
Thanks for the note. UInderstand that to resolve this one would need much more details
about admin policies and configurations.
I will see if PowerDesk can help out.
Just to clarify, I am a technical person but not an IT person, and, unfortunately,
know more about some computer stuff than the tech support guys that would first answer
my call in our company.
Now, there are of course smart IT people in the company but to get to them is very
time consuming as you have to deal before that with bunch of other "experts" who
only know how to reinstall applications and want you to reimage your drive.
[Reply or follow-up to this message]
|
re: xcopy from Network
Wednesday, January 14, 2009 at 9:02 am Posted by Darren
(137 messages posted)
XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/V] [/W]
[/C] [/I] [/Q] [/F] [/L] [/H] [/R] [/T] [/U]
[/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z]
[/EXCLUDE:file1[+file2][+file3]...]
source Specifies the file(s) to copy.
destination Specifies the location and/or name of new files.
/A Copies only files with the archive attribute set,
doesn't change the attribute.
/M Copies only files with the archive attribute set,
turns off the archive attribute.
/D:m-d-y Copies files changed on or after the specified date.
If no date is given, copies only those files whose
source time is newer than the destination time.
/EXCLUDE:file1[+file2][+file3]...
Specifies a list of files containing strings. When any of the
strings match any part of the absolute path of the file to be
copied, that file will be excluded from being copied. For
example, specifying a string like \obj\ or .obj will exclude
all files underneath the directory obj or all files with the
.obj extension respectively.
/P Prompts you before creating each destination file.
/S Copies directories and subdirectories except empty ones.
/E Copies directories and subdirectories, including empty ones.
Same as /S /E. May be used to modify /T.
/V Verifies each new file.
/W Prompts you to press a key before copying.
/C Continues copying even if errors occur.
/I If destination does not exist and copying more than one file,
assumes that destination must be a directory.
/Q Does not display file names while copying.
/F Displays full source and destination file names while copying.
/L Displays files that would be copied.
/H Copies hidden and system files also.
/R Overwrites read-only files.
/T Creates directory structure, but does not copy files. Does not
include empty directories or subdirectories. /T /E includes
empty directories and subdirectories.
/U Copies only files that already exist in destination.
/K Copies attributes. Normal Xcopy will reset read-only attributes.
/N Copies using the generated short names.
/O Copies file ownership and ACL information.
/X Copies file audit settings (implies /O).
/Y Suppresses prompting to confirm you want to overwrite an
existing destination file.
/-Y Causes prompting to confirm you want to overwrite an
existing destination file.
/Z Copies networked files in restartable mode.
The switch /Y may be preset in the COPYCMD environment variable.
This may be overridden with /-Y on the command line.
[Reply or follow-up to this message]
| |
| |
Tip: Use one of the [Reply or follow-up to this message] links above to add a message to this thread
| |
Return to the Windows 2000 Discussion Forum
|
|
|
|