Why can't I rename or move the folder in Win7?

Page 1 of 2 12 LastLast

  1. Posts : 6
    windows 7
       #1

    Why can't I rename or move the folder in Win7?


    Dear all,

    I have a serious problem in my Windows 7 system. Now when I want to rename the folder, an error window always warning "The file names(s) would be too long for the destination folder. You can shorten the file name and try again, or try a location that has a shorter path".

    However, I just want to rename the folder from 'New folder' to 'a', which I don't think is a long name for a folder.

    So anyone can help me to solve the problem?

    Thank you
      My Computer


  2. Posts : 17,796
    Windows 10, Home Clean Install
       #2

    Actually, I think the name may be too short. Try a name a bit longer. Maybe with 5 letters. Let us know, the result.
      My Computer


  3. Posts : 6
    windows 7
    Thread Starter
       #3

    I have tried the folder name as 'abcde', 'new folde', 'new', 'folders', and so on. But none of them worked.
      My Computer


  4. Posts : 1,261
    Windows 7 Professional 32-bit SP1
       #4

    nicoson said:
    I have tried the folder name as 'abcde', 'new folde', 'new', 'folders', and so on. But none of them worked.

    What is the full folder path containing the folder you are trying to rename? For example "D:\Pictures\Computer Products\Company Logos"
      My Computer


  5. Posts : 1,210
    Windows 7 Ultimate x64 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx
       #5

    In Windows the maximum length of a path can be 260 characters only.
    ie. <Drive>:\<some 256-character path string><NUL>" where "<NUL>" represents the invisible terminating null character for the current system codepage.

    If the file you are trying to rename is located in a folder depth, where the character count is greater than 260, then you will get the error.

    If the folder structure is like this (246 characters)
    C:\ABCDEFGHIJKLMNOPQRSTUVWXYZ\ABCDEFGHIJKLMNOPQRSTUVWXYZ\ABCDEFGHIJKLMNOPQRSTUVWXYZ\ABCDEFGHIJKLMNOP QRSTUVWXYZ\ABCDEFGHIJKLMNOPQRSTUVWXYZ\ABCDEFGHIJKLMNOPQRSTUVWXYZ\ABCDEFGHIJKLMNOPQRSTUVWXYZ\ABCDEFGH IJKLMNOPQRSTUVWXYZ\ABCDEFGHIJKLMNOPQRSTUVWXYZ\
    then the file name can be 13 characters only (including the . and extension)
    246+13+1 (NUL) = 260

    In the Windows API, 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.)
      My Computer


  6. Posts : 6
    windows 7
    Thread Starter
       #6

    My full folder path is "C:\Users\nicoson\Desktop\new folder".

    Actually all the folders' names in my system can not be renamed or moved by windows command.

    But I have tried in cmd window, the folders can be moved in the cmd by using the command 'move'. It is weird, do you think so?

    I have heared many other people who use vista also met this problem before. Is it the system bug? Can this problem be solvable?
      My Computer


  7. Posts : 5,642
    Windows 10 Pro (x64)
       #7

    Installed any software?
      My Computer


  8. Posts : 1,210
    Windows 7 Ultimate x64 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx
       #8

    Is yours a Clean 7 Install or a Upgrade from Vista?
      My Computer


  9. Posts : 6
    windows 7
    Thread Starter
       #9

    gladson1976 said:
    Is yours a Clean 7 Install or a Upgrade from Vista?
    My system is a clean Win 7 system.
      My Computer


  10. Posts : 6
    windows 7
    Thread Starter
       #10

    logicearth said:
    Installed any software?
    I don't think it was caused by the software installing.
    Because the problem happened when I was moving 3 folders into one folder. Two moved successfully, while on failed. After that, I can never move any folders again.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:37.
Find Us