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 ?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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:

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

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
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.
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

Joe Winograd, Fellow&MVEDeveloperCommented:
I've been using an excellent file manager called Total Commander for many years:

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
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.
NVITEnd-user supportCommented:
Yes, you can use robocopy. There are many site using that method. Here's one:
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.
Jeff GloverSr. Systems AdministratorCommented:
We use xxcopy, it supports up to 255 characters in a path/filename
Daniela .Commented:
This problem occurs because of an issue in how Windows handles the long-path errors.
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.