نمایش نتایج: از شماره 1 تا 2 از مجموع 2

موضوع: آیا برای طول آدرس در ویندوز 7 محدودیتی وجود دارد ؟ راه حل چیست ؟

  
  1. #1
    نام حقيقي: میثم حلوایی

    عضو ویژه/سرپرست بخش Windows شناسه تصویری halvaei
    تاریخ عضویت
    Apr 2009
    محل سکونت
    کاشان
    نوشته
    1,891
    سپاسگزاری شده
    1629
    سپاسگزاری کرده
    810
    نوشته های وبلاگ
    6

    آیا برای طول آدرس در ویندوز 7 محدودیتی وجود دارد ؟ راه حل چیست ؟

    سلام دوستان
    اخیرا با یک مشکلی روبرو شدم.داستان از این قراره که یکی از واحد ها میخواد یه سری اطلاعات جمع کنه که احتیاج داره فولدر و زیر فولدرهای زیاد داشته باشه . به من اعلام کرده که در هنگام کپی یا تغییر نام بعضی از فایل ها که در فولدرهایی پایینی هست .با پیغام خطای محدودیت آدرس مواجه میشم و اجازه نمیده فایل رو تغییر نام بدم و یا کپی کنم .
    آیا علت طول آدرس زیاد فایل هست و یا فارسی بودن فولدرها ؟
    راه حلی هست ؟

    - - - Updated - - -

    این جوابی که مایکروسافت داده که میگه محدودیت تا 260 کاراکتر هست . آیا راه حلی وجود داره ؟ چرا محدودیت وجود داره ؟
    منبع :
    http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx#maxpath

    Maximum Path Length Limitation

    In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which is defined as 260 characters. A local path is structured in the following order: drive letter, colon, backslash, name components separated by backslashes, and a terminating null character. For example, the maximum path on drive D is "D:\some 256-character path string<NUL>" where "<NUL>" represents the invisible terminating null character for the current system codepage. (The characters < > are used here for visual clarity and cannot be part of a valid path string.)
    Note File I/O functions in the Windows API convert "/" to "\" as part of converting the name to an NT-style name, except when using the "\\?\" prefix as detailed in the following sections.
    The Windows API has many functions that also have Unicode versions to permit an extended-length path for a maximum total path length of 32,767 characters. This type of path is composed of components separated by backslashes, each up to the value returned in the lpMaximumComponentLength parameter of the GetVolumeInformation function (this value is commonly 255 characters). To specify an extended-length path, use the "\\?\" prefix. For example, "\\?\D:\very long path".
    Note The maximum path of 32,767 characters is approximate, because the "\\?\" prefix may be expanded to a longer string by the system at run time, and this expansion applies to the total length.
    The "\\?\" prefix can also be used with paths constructed according to the universal naming convention (UNC). To specify such a path using UNC, use the "\\?\UNC\" prefix. For example, "\\?\UNC\server\share", where "server" is the name of the computer and "share" is the name of the shared folder. These prefixes are not used as part of the path itself. They indicate that the path should be passed to the system with minimal modification, which means that you cannot use forward slashes to represent path separators, or a period to represent the current directory, or double dots to represent the parent directory. Because you cannot use the "\\?\" prefix with a relative path, relative paths are always limited to a total of MAX_PATH characters.
    There is no need to perform any Unicode normalization on path and file name strings for use by the Windows file I/O API functions because the file system treats path and file names as an opaque sequence of WCHARs. Any normalization that your application requires should be performed with this in mind, external of any calls to related Windows file I/O API functions.
    When using an API to create a directory, the specified path cannot be so long that you cannot append an 8.3 file name (that is, the directory name cannot exceed MAX_PATH minus 12).
    The shell and the file system have different requirements. It is possible to create a path with the Windows API that the shell user interface is not able to interpret proper
    ly.




    موضوعات مشابه:

  2. #2
    نام حقيقي: فرهاد حامد

    خواننده شناسه تصویری farhadham
    تاریخ عضویت
    Nov 2009
    محل سکونت
    تبريز
    نوشته
    319
    سپاسگزاری شده
    197
    سپاسگزاری کرده
    159
    اگه راه حلی بود خود مایکروسافت ارائه میداد.



کلمات کلیدی در جستجوها:

حل مشکل طولانی بودن اسم فایل در کپی

ارتباط win7 fh windowsادرس unc

طولانی بودن نام فایل

حداکثر نام فایل در ویندوز 7

مشکل total path and filename length must not exceed 260 characters

مشکل کپی نشدن فایلها با نام طولانی

تعداد کاراکتردر پوشه

مشکل طولانی شدن نام فایل ها در زمان کپی

طول تعداد کارکترهای نام فولدر در ویندوز 7

رفع محدودیت انتخاب حداکثر فایل در ویندوز 7

رفع محدودیت نام پوشه

حداکثر طول فایل در ویندوز 7

حل کردن مشکل long path names to files

پغام ویندوز نام طولانی

رفع خطای مربوط به کپی فایل با اسم طولانی

رفع محدودیت طول آدرس فایل

حل مشکل 255 کاراکتر در کپی

رفع ارور file name too large

حل مشكل طولاني بودن اسم فايها

کپی فایل های با نام طولانی

محدود تعداد کاراکتر در نام فایل

رفع خطای long name در کپی کردن

حل مشکل ویندوز با طولانی بودن نام فایلها

تعداد کاراکترهای نام فایل در ویندوز

مشکل بلند بودن اسم فولدر در ویندوز 7

برچسب برای این موضوع

مجوز های ارسال و ویرایش

  • شما نمی توانید موضوع جدید ارسال کنید
  • شما نمی توانید به پست ها پاسخ دهید
  • شما نمی توانید فایل پیوست ضمیمه کنید
  • شما نمی توانید پست های خود را ویرایش کنید
  •