Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


November 15, 2004

Robocopy XP010 FAQ

Wield powerful new switch options
RSS
View this exclusive article with VIP access -- click here to join |
See More Backup and Recovery Articles Here | Reprints | Or sign up for our VIP Monthly Pass!

We experience problems when users create folder structures that exceed the 256-character limitation that Windows applications enforce. When we performed a recent migration, Robocopy produced a lot of errors concerning long pathnames. When I tried Robocopy XP010, I experienced no long-pathname errors. How does Robocopy XP010 handle long pathnames?

By default, Robocopy XP010 can copy the filenames and folder names that exceed the 256-character limit—to a theoretical 32,000 characters—without logging any errors. If you want to force Robocopy to produce such errors so that you can see where your long-pathname problems originate, use the /256 switch. This switch causes Robocopy to produce errors that are similar to those with which you're familiar. Remember, though, that some user applications might not be able to access paths whose names exceed the 256-character length, and long pathnames might complicate verification of a successful copy.

If you plan to use the resource kit's Diruse directory-size comparison tool or another utility to verify your copy success, the tool might have long-pathname limitations that give you different results between the source and destination. Suppose you have a share named \FileServer1\ShareA that contains only one file. This 10MB file, called LongFile.txt, is many folders deep in the file structure and has a 253-character path length. You use Robocopy to copy this file to another server, thereby adding one more level to the path: \FileServer2\ShareB\OldShareA. Without realizing it, you've increased the path length by 10 characters. Robocopy will copy the file successfully (unless you use the /256 option to force an error). . . .


Already a VIP member?
Please log on to view the full article

Why become a VIP member?

VIP-only online access
VIP CD delivered twice a year: offline access to the entire Windows IT Pro article library
Monthly issue of your choice of Windows IT Pro or SQL Server Magazine

Subscribe Now
Reader Comments
good

asapcs-syr September 16, 2005 (Article Rating: )


This is really a bunch of BS. i was trouble shooting a problem when i found a potential fix on windows IT pro - but i couldn't look at it until i subscribed. Now i am looking for robocopy info and find this Robocopy XP010 FAQ
article - which says "want to read more just pay another 79.00 for the scripting newsletter. What kind of crap is this - i don't think you'll be getting repeat business from me. If you have anything to say about this please email me a kris.viehe@wamu.net

u222021 September 05, 2006 (Article Rating: )


I Agree with Kris. I am a WindowsITPro Subscriber, and frankly I am dissapointed that every time I need to search for a solution I find that the money I spent was a waste because I need ANOTHER subscription to read the article I need.

dscottb October 26, 2006 (Article Rating: )


What both of you need to realize is that you don't subscribe to the Scripting newsletter. Just because you subscribe to the WindowsITPro magazine doesn't mean you should have the right to view any of the Penton media publications.

josephmdavis November 07, 2006 (Article Rating: )


I agree with Kris and Scott and completely disagree with Joe finding his opinion to be somewhat condescening and plainly flying against the grain in that we have already paid hard earned money for what!?!

To give you more hard earned money?

I and --sounds like others too-- will be going down the roadl

Have fun with your Penton pub Joe! I'll be find a new pub with a better happy hour, and cleaner taps!

I.e. the popups and adverts on this site couldn't be more annoying!

ashsnow September 01, 2007 (Article Rating: )


Yeah! If I pay next to nothing for one excellent product, I should get all there other products for free! It's almost like Penton is trying to make a profit or something. GO figure! What happened to IT wellfare?

sail33811 May 12, 2008 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...


Task Automation Whitepapers From Development to Production: Streamlining SharePoint Deployment with DocAve Deployment Manager

From Development to Production: Streamlining SharePoint Deployment with DocAve Deployment Manager

Related Events Backup – The Backbone of Your Business

Disk-to-Disk Grows Up

Effectively Shrinking Your Backup Window – with CA ARCserve Backup Data De-duplication and the Riverbed Steelhead Appliance

Check out our list of Free Email Newsletters!

Task Automation eBooks Spam Fighting and Email Security for the 21st Century

A Guide to Windows Certification and Public Keys

Keeping Your Business Safe from Attack: Patch Management

Related Task Automation Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement