Results 1 to 4 of 4

Thread: Problem in Nested folder in .NET

  1. #1
    Join Date
    Nov 2009
    Posts
    652

    Problem in Nested folder in .NET

    Hi there,

    I am getting one problem while developing the program using .Net. I am getting the error when i am trying to create folder within nested folder. It show "The specified path,file name or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters"

    Now help me with this error. This error is causing me much problem while running the project. I cant run my program fully because of this error. I think i am a right place to got the solution.

    Thanks in advance.

  2. #2
    Join Date
    Apr 2008
    Posts
    2,139

    Re: Problem in Nested folder in .NET

    Hey,

    As per my knowledge the Windows restricted the No. of character on full directory is 248 and 260 characters for full paths to files.This limit define by the Windows. So it better to make the name of the folder smaller and truncation on last folder. That much i can help you. Try out this with your coding and see the effect and if worked for you then let me know the same.

    Thank You.

  3. #3
    Join Date
    Apr 2008
    Posts
    4,642

    Re: Problem in Nested folder in .NET

    There must be the problem with the path. So check your path it could be possible that your path is too long. It must not be exceed the limit of the 20 Character. If the path is 20 then it is OK. But if the path is more then the value then it will not be supported by the windows. As you know that the limit of the character must be 248 not more then that so check your path and confirm whether it more then the value specified by window or not.

    Thanks

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Problem in Nested folder in .NET

    Hey,

    I have some thing to tell so that you check your code to confirm the same. It could be possible that your path is not rooted. If you are creating a file SharedDocument then check whether you are giving the absolute path or relative path. I you don't specify the drive then you will create a directory on the current directory, which is not the root directory.

    Thats it!!!!!!!!!!!

Similar Threads

  1. How to run Nested Vms
    By Vitel in forum Operating Systems
    Replies: 8
    Last Post: 15-09-2011, 11:54 AM
  2. Multiple nested copies of Application Data folder
    By I'm Legend in forum Operating Systems
    Replies: 6
    Last Post: 15-04-2011, 09:59 AM
  3. Problem with nested div when the content width exceeds window size
    By Laurense in forum Software Development
    Replies: 5
    Last Post: 04-03-2010, 07:58 PM
  4. Problem of nested query
    By MAGAR in forum Software Development
    Replies: 4
    Last Post: 09-12-2009, 09:55 PM
  5. Problem with width for nested div padding
    By Jaisudha in forum Software Development
    Replies: 3
    Last Post: 22-06-2009, 12:28 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,126,110.23007 seconds with 17 queries