Batch to delete directory with path-too-long problem.

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Message
Author
Danpeterson
Posts: 1
Joined: 23 Dec 2021 09:35
Location: USA

Re: Batch to delete directory with path-too-long problem.

#16 Post by Danpeterson » 26 Dec 2021 08:21

I'm trying to copy files over from one place to another, but I get an error saying the file name is too long? I can solve it by making the name shorter, but for some files I just can't do that. It's only allowing me about 10 letters in total to name a file.
So, I do used "Long path tool" program.

aGerman
Expert
Posts: 4678
Joined: 22 Jan 2010 18:01
Location: Germany

Re: Batch to delete directory with path-too-long problem.

#17 Post by aGerman » 26 Dec 2021 15:32

Did you try to use the UNC notation for long paths as shown in post #9?

Steffen

Post Reply