|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
system.io.pathtoolongexception error I am using a C#.Net copying program to copy my files. But now I am getting system.io.pathtoolongexception error message while copying a specific directory. I am quiet confuse why i getting a specific error a particular file only. Is there something missing in the command. What can be the reason for this type of error. Help. |
#2
| |||
| |||
Re: system.io.pathtoolongexception error I think the file which you want to copy is located very deep in the directory. Once i was getting the error "The path is too long after being fully qualified. Make sure path is less than 260 characters". I was too not able to copy the file. I checked out all the codes and try it again by same problem is occurring again. You will need to check out the path of the file must not be to long. It must come under 248 characters. |
#3
| |||
| |||
Re: system.io.pathtoolongexception error The specified path, or file name or both must be having a very long name. They are exceeding the system defined maximum length. For windows the characters in the path name must be 248 characters only and for file name it must be less than 260 character only. May be both of the characters in the both type are exceeding the system limit. Because of that you are getting the specific error. And i don't think so there is a way to increase this limit. |
#4
| |||
| |||
Re: system.io.pathtoolongexception error The limit of windows characters in 260. But it not a .Net restriction. Well, we cannot change the value as it is embedded with the system. You system API depends on this value. But there is another way also. Your can use a third party copying software for your problem. I will recommend you Robocopy. Try this. |
![]() |
|
Tags: copy, directory, error, net, proramming, structure |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error ?System restore failed? and ?Not enough disk space to perform system recovery" in Dell Inspiron 1545 | Chitti's | Portable Devices | 3 | 28-12-2011 09:15 PM |
System crashed with driver power state failure error in Puget serenity system | KumaraVel | Operating Systems | 10 | 09-09-2011 10:02 PM |
?This installation is forbidden by system policy. contact your system administrator? Error message while installing the Corel Video Studio X3. | Jaiya | Windows Software | 6 | 23-04-2011 10:23 PM |
DHCP error in my event/ system in system tool | Cappuccino | Networking & Security | 4 | 08-03-2011 07:04 AM |
Lsass.exe - system error or Isass.exe - system error | CaspaR | Windows XP Support | 1 | 23-11-2004 03:11 AM |