Click here to Skip to main content
15,895,799 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: robocopy files up to date and long path names issue Pin
OriginalGriff27-Jan-20 22:21
mveOriginalGriff27-Jan-20 22:21 
AnswerRe: robocopy files up to date and long path names issue Pin
OriginalGriff23-Jan-20 2:25
mveOriginalGriff23-Jan-20 2:25 
AnswerRe: robocopy files up to date and long path names issue Pin
rnbergren23-Jan-20 4:25
rnbergren23-Jan-20 4:25 
GeneralRe: robocopy files up to date and long path names issue Pin
dandy7223-Jan-20 5:57
dandy7223-Jan-20 5:57 
GeneralRe: robocopy files up to date and long path names issue Pin
SenioritaNaomi27-Jan-20 22:01
SenioritaNaomi27-Jan-20 22:01 
GeneralRe: robocopy files up to date and long path names issue Pin
dandy7228-Jan-20 3:23
dandy7228-Jan-20 3:23 
GeneralRe: robocopy files up to date and long path names issue Pin
SenioritaNaomi30-Jan-20 1:37
SenioritaNaomi30-Jan-20 1:37 
GeneralRe: robocopy files up to date and long path names issue Pin
dandy7230-Jan-20 5:16
dandy7230-Jan-20 5:16 
SenioritaNaomi wrote:
can you apply the solution in the link you shared?


I'm not sure I understand. The only link I provided was to a StackExchange discussion that mentions robocopy should support long paths out of the box, and before that, a sample of how I use the command myself.

This article shows various ways to enable NTFS long paths in Windows 10, but looking at the registry on two of my systems (one of which is my NAS, which is what I use robocopy against), it looks like I don't have it explicitly enabled...so I'm not sure if it's necessary. OTOH, my "NAS" is running Windows 7, so it can't be a "recent version of Windows 10"-only feature.

I realize this will come across as a lame suggestion, but is there any chance you can organize your folder structure so it doesn't run so deep? My NAS is essentially my archive of all my documents, music, source code, CD/DVD ISOs, installers, etc...and--unless robocopy is failing silently--I've somehow managed to avoid running into the path limit, and this is the "live archive" I've been using for 10+ years. In fact it's unlikely to be the case, because now that I think of it, even the last time I moved my entire set of files from an 8TB drive to a 10TB drive, I compared the total amount of data on the original disk with the target, and I got a match (down to the byte), so I know nothing got left behind because the path was too long.

Another thought (again, rather lame): Is your drive formatted as NTFS?

[Edit]

I see in another response in this thread that you've found a solution using another tool - good to know. I honestly don't know at this point what to suggest might be wrong with robocopy.
GeneralRe: robocopy files up to date and long path names issue Pin
SenioritaNaomi2-Feb-20 0:23
SenioritaNaomi2-Feb-20 0:23 
GeneralRe: robocopy files up to date and long path names issue Pin
dandy723-Feb-20 6:30
dandy723-Feb-20 6:30 
AnswerRe: robocopy files up to date and long path names issue Pin
ELENASTEFAN26-Jan-20 1:15
ELENASTEFAN26-Jan-20 1:15 
GeneralRe: robocopy files up to date and long path names issue Pin
SenioritaNaomi27-Jan-20 21:58
SenioritaNaomi27-Jan-20 21:58 
GeneralI did it! PinPopular
honey the codewitch23-Jan-20 0:53
mvahoney the codewitch23-Jan-20 0:53 
GeneralRe: I did it! Pin
Marc Clifton23-Jan-20 3:30
mvaMarc Clifton23-Jan-20 3:30 
GeneralRe: I did it! Pin
honey the codewitch23-Jan-20 4:15
mvahoney the codewitch23-Jan-20 4:15 
GeneralRe: I did it! Pin
Robert van Engelen23-Jan-20 3:50
Robert van Engelen23-Jan-20 3:50 
GeneralRe: I did it! Pin
honey the codewitch23-Jan-20 4:14
mvahoney the codewitch23-Jan-20 4:14 
GeneralRe: I did it! Pin
Rick York23-Jan-20 5:16
mveRick York23-Jan-20 5:16 
GeneralMessage Closed Pin
23-Jan-20 0:54
Member 1472461823-Jan-20 0:54 
RantRe:[DELETED] [Main Thread] Pin
ZurdoDev23-Jan-20 1:20
professionalZurdoDev23-Jan-20 1:20 
GeneralRe: [DELETED] [Main Thread] Pin
OriginalGriff23-Jan-20 1:24
mveOriginalGriff23-Jan-20 1:24 
GeneralRe: [DELETED] [Main Thread] Pin
ZurdoDev23-Jan-20 2:16
professionalZurdoDev23-Jan-20 2:16 
GeneralRe: [DELETED] [Main Thread] Pin
OriginalGriff23-Jan-20 2:29
mveOriginalGriff23-Jan-20 2:29 
GeneralRe: [DELETED] [Main Thread] Pin
OriginalGriff23-Jan-20 2:30
mveOriginalGriff23-Jan-20 2:30 
GeneralRe: [DELETED] [Main Thread] Pin
musefan23-Jan-20 1:24
musefan23-Jan-20 1:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.