file too long to del, move, rename

i have a file on the network thats like 3 or 4 subfolder deep. to make it worse, the file name must be about 100 characters long. i cannot move it to the root of c. i cannot rename, delete or anything. any advise

can i use robocopy or something ?
file-too-long.PNG
ttrbrtsnAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mr TorturSystem EngineerCommented:
Hi,

you could use unlocker to rename or remove it.
I use it for a while, it is pretty effective.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rindiCommented:
You could create a share for the folder the file is in, then connect to that share using a new drive letter, then shorten it's name or delete it. Once done be sure to unmap the share and remove the share again.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Joe Winograd, Fellow&MVEDeveloperCommented:
I've been using an excellent file manager called Total Commander for many years:
http://www.ghisler.com/

It is shareware so you can see if it works well for you. It has no problem operating on long file names. Here's a screenshot showing a dialog when I copied a folder/subfolders with many files that have long file names (I redacted some characters for privacy purposes):

TotCmd copy long filename
I simply clicked Keep all and it copied fine. As a disclaimer, I want to emphasize that I have no affiliation with this company and no financial interest in it whatsoever. I am simply a happy user/customer. Regards, Joe
0
Mr TorturSystem EngineerCommented:
hi again,
unlocker is free and will do the job ; but you could try another as advised upper, I think total commander is a good soft, and it will do more than what you asked here ; but as stated it is shareware, so it's up to you.
Also Rindy solution could work and is free too, without any software installation.
0
NVITCommented:
Yes, you can use robocopy. There are many site using that method. Here's one:
http://blog.bertvanlangen.com/articles/path-too-long-use-robocopy/
0
deroodeSystems AdministratorCommented:
We encouter this problem a lot. What usually works is to (temporary) move the Directory that the long file is in to the root of the share, then rename the file, then move the directory back to it's original place.

You can also (temporary) rename the directories to shorter names, then rename the file:

rename \\server\share\Very_long_directory_name\Even_longer_directory_name\subdirectory

to \\server\share\V\E\s

then do the file rename, and rename everything back to normal.
0
Jeff GloverSr. Systems AdministratorCommented:
We use xxcopy, it supports up to 255 characters in a path/filename
0
Daniela .Commented:
This problem occurs because of an issue in how Windows handles the long-path errors.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.