This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

File name too long

Hello: When I try to open an example project from nordik, keil doesn't open some files and I get the following error: "no source": Error: #5: cannot open source input file "............\components\serialization\connectivity\codecs\s130\serializers\ble_gatts_evt_rw_authorize_request.c": No such file or directory

If I change the name of the file, and its name is below 25 characters, it can open it. What can I do?

I looking for a better solution that change the name of all files that I can't open :D

Parents
  • I have encountered this problem many times. Lets consider an example so that you understand; C:\oraclxe\app\oracle\diag\tnslr\user\listener\me.txt, In this "me" file will not be counted as 2 character but will be counted as number of characters in the path name. Its because the windows API has MAX_LENGTH of 255 characters only. To solve this you can try GS Richcopy 360. I am currently using this software and it has worked for me and my enterprise to solve all our problems related to file copying. Try it, it helps.

Reply
  • I have encountered this problem many times. Lets consider an example so that you understand; C:\oraclxe\app\oracle\diag\tnslr\user\listener\me.txt, In this "me" file will not be counted as 2 character but will be counted as number of characters in the path name. Its because the windows API has MAX_LENGTH of 255 characters only. To solve this you can try GS Richcopy 360. I am currently using this software and it has worked for me and my enterprise to solve all our problems related to file copying. Try it, it helps.

Children
No Data
Related