Avatar of ullfindsmit
ullfindsmit
Flag for United States of America asked on

[500] The path is too long after being fully qualified. Make sure path is less than 260 characters.

I'm trying to use
System.IO.File.Copy( source, dest) and get an error when the dest is more than 260 in length

I did some digging and found out that its a framework limitation.

if so, what is the workarround?

thanks in advance
-smit.
ASP.NETVisual Basic.NET.NET Programming

Avatar of undefined
Last Comment
ullfindsmit

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Atropa

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
pashik

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
pashik

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Atropa

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ullfindsmit

ASKER
never mind
I found out that its also an OS limitation

pashik, we do not control the directory structure, hence cant limit the length

will close with split pionts
-Smit.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck