+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    DoctorGordanBens
    Guest

    Default file/folder path limit

    is there any limit to the folder hierarchy (ie file/folder path ) in windows
    2000 advanced server and also the filename length limit in windows 200
    advanced server


  2. #2
    DoctorGordanBens
    Guest

    Default Re: file/folder path limit


    "sridhar" <sridhar@discussions.microsoft.com> wrote in message
    news:387AB973-F4DE-4E7F-AB0A-51C3062985A9@microsoft.com...
    > is there any limit to the folder hierarchy (ie file/folder path ) in

    windows
    > 2000 advanced server and also the filename length limit in windows 200
    > advanced server
    >


    The combined path+file name length must not exeed 254 chars.
    Put your information inside the file instead of the file name.



  3. #3
    DoctorGordanBens
    Guest

    Default Re: file/folder path limit

    thanks a lot for that. it solved my problem. Is there a way i can restrict
    the users from giving long filenames/foldernames in windows 2000 advanced
    server ?


    "Pegasus (MVP)" wrote:

    >
    > "sridhar" <sridhar@discussions.microsoft.com> wrote in message
    > news:387AB973-F4DE-4E7F-AB0A-51C3062985A9@microsoft.com...
    > > is there any limit to the folder hierarchy (ie file/folder path ) in

    > windows
    > > 2000 advanced server and also the filename length limit in windows 200
    > > advanced server
    > >

    >
    > The combined path+file name length must not exeed 254 chars.
    > Put your information inside the file instead of the file name.
    >
    >
    >


  4. #4
    DoctorGordanBens
    Guest

    Default Re: file/folder path limit

    I don't think you can prevent users from having excessively
    long names. However, you can inform them that such names
    cause system problems. The batch file below will compile a
    list of names > 200 chars, to be used when enforcing your
    policy.

    Line1 @echo off
    Line2 if exist c:\LongNames.txt del c:\LogNames.txt
    Line3 dir /s /b d:\ > c:\dir.txt
    Line4
    Line5 for /F "tokens=*" %%* in (c:\dir.txt) do call :Sub %%*
    Line6 goto :eof
    Line7
    Line8 :Sub
    Line10 set Name=%*
    Line11 if not "%Name:~200,1%"=="" echo %Name% >> c:\LongNames.txt




    "sridhar" <sridhar@discussions.microsoft.com> wrote in message
    news:C9B6C51F-07F0-4887-8BBB-5E1339C8D933@microsoft.com...
    > thanks a lot for that. it solved my problem. Is there a way i can

    restrict
    > the users from giving long filenames/foldernames in windows 2000 advanced
    > server ?
    >
    >
    > "Pegasus (MVP)" wrote:
    >
    > >
    > > "sridhar" <sridhar@discussions.microsoft.com> wrote in message
    > > news:387AB973-F4DE-4E7F-AB0A-51C3062985A9@microsoft.com...
    > > > is there any limit to the folder hierarchy (ie file/folder path ) in

    > > windows
    > > > 2000 advanced server and also the filename length limit in windows 200
    > > > advanced server
    > > >

    > >
    > > The combined path+file name length must not exeed 254 chars.
    > > Put your information inside the file instead of the file name.
    > >
    > >
    > >




  5. #5
    DoctorGordanBens
    Guest

    Default Re: file/folder path limit

    Pegasus (MVP) wrote:
    > "sridhar" <sridhar@discussions.microsoft.com> wrote in message
    > news:387AB973-F4DE-4E7F-AB0A-51C3062985A9@microsoft.com...
    >
    >>is there any limit to the folder hierarchy (ie file/folder path ) in

    >
    > windows
    >
    >>2000 advanced server and also the filename length limit in windows 200
    >>advanced server
    >>

    >
    >
    > The combined path+file name length must not exeed 254 chars.
    > Put your information inside the file instead of the file name.
    >


    Is there any way to increase it in any version of Windows?
    A supplemental program?



Similar Threads

  1. Lost path in Command Interpreter
    By DoctorGordanBens in forum Windows Vista & XP Forum
    Replies: 4
    Last Post: 12-13-05, 08:20 AM
  2. Length limitation of Path Environment Variable?
    By DoctorGordanBens in forum Windows 2000 / NT
    Replies: 2
    Last Post: 09-30-05, 03:29 PM
  3. formatting a path
    By DoctorGordanBens in forum Windows Vista & XP Forum
    Replies: 1
    Last Post: 09-22-05, 12:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts