?
Solved

robocopy

Posted on 2002-07-08
7
Medium Priority
?
1,005 Views
Last Modified: 2013-12-28
Hi

I use the robocopy utility to keep a copy of a server on a stand by server. I find this very useful especially when users have lost files.

The problem i find is that if a directory structure is very long and the file name is pretty long also, the robocopy command fails to copy this file. Is there any way around this.

thanks

sed
0
Comment
Question by:sedatriza
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 7137971
I think you are hitting on of the file name limitations ( either 127 or 255 characters max ).

I would consider shortening file and directory names where needed.

Other options are to create mapped drives to the folders in question, on BoTH machines, and then copy from the mapped drive after doing a CD into a lower directory.

I hope this helps !
0
 

Author Comment

by:sedatriza
ID: 7138003
thanks for this but it does not help really.
it's that when you do a robocopy, the path length including the file name exceeds 255 characters.

I just find robocopy very usefull. i could use the mapped drive and copy stuff but it's a bit slow if it has to be done regularly.

I was rather hoping there was a switch or  another utility which had no file name length limitations.

thanks anyway

sed
0
 
LVL 17

Expert Comment

by:mikecr
ID: 7143132
The only way that I have found to get around this, and sometimes it doesn't even work, is to use the /mir switch to mirror the whole directory structure.
0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
LVL 23

Expert Comment

by:Tim Holman
ID: 7187978
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8623911
Administrative Action - PAQ'd and points NOT refunded.

SpideyMod
Community Support Moderator @Experts Exchange
0
 

Expert Comment

by:mountainandtown
ID: 23970266
WARING:

 web site posted by tim_homan redirects to malocious code attack!
0
 
LVL 9

Expert Comment

by:samiam41
ID: 38603087
WARNING no longer.  Site is fine as of 11.15.12
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Windows 10 Creator Update has just been released and I have it working very well on my laptop. Read below for issues, fixes and ideas.
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

777 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