Can't delete or open folder that end with a dot

Page 1 of 4 123 ... LastLast

  1. Posts : 96
    Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
       #1

    Can't delete or open folder that end with a dot


    I extracted some RAR files and it created a folder with a name ended with a "."

    foldername.


    Now I can't open or delete that folder.
    If I try, then it would give an error message.

    Why does this happen?

    How do I fix this?

    Note:
    Here are the errors for future reference

    Open the folder


    Delete the folder


    Rename folder or remove the "." at the end





    Update:
    For anyone having the same problem..
    This problem has been solved by doing this..

    Open a cmd, preferably with Administrator access

    Type this..
    Code:
    rd /q /s "\\?\[path]\Annoying Folder."
    e.g.
    rd /q /s "\\?\C:\Documents and Settings\User\Desktop\Annoying Folder."
    Last edited by madmax2; 06 Aug 2015 at 06:35.
      My Computer


  2. Posts : 13,576
    Windows 10 Pro x64
       #2

    Put in in another folder, try to delete that.
      My Computer


  3. Posts : 96
    Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #3

    AddRAM said:
    Put in in another folder, try to delete that.
    you cannot
    -move it
    -delete it
    -open it
      My Computer


  4. Posts : 6,285
    Windows 10 Pro X64
       #4

    I've tried to create a folder name that ends in a . and I can't, system ignore it.

    You may be able to delete it via a Command Prompt window. Change to the folder that foldername. is in then try

    ren "foldername." "foldername" to get rid of the period then you can delete it as normal.

    If that doesn't work try creating a Linux live CD/DVD or flash drive and boot that then delete the folder from there.
      My Computer


  5. Posts : 10,485
    W7 Pro SP1 64bit
       #5

    See this post:
    Solved:

    Code:
    rd /s "\\?\C:\Documents and Settings\User\Desktop\Annoying Folder."
      My Computer


  6. Posts : 96
    Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #6

    UsernameIssues said:
    See this post:
    Solved:

    Code:
    rd /s "\\?\C:\Documents and Settings\User\Desktop\Annoying Folder."
    Yes, I found a solution in this thread, which basically says same thing like you said.

    windows - How to delete a folder that name ended with a dot(".") - Stack Overflow

    Thanks for the url link..

    It's pretty dumb that windows don't fix this...

    Do you know why it allows a dot, when extracting rar, but gives a error, when you delete, open, or move it?

    ====
    The whole mess started because of this..
    my rar filename was
    e.g.
    aaa..rar

    Then I using winrar
    -extract each archive to separate folders
    which produce the folder

    aaa.

    Now when you delete, open, or move the folder
    or the delete/move the parent folder

    Windows would give an error message.
      My Computer


  7. Posts : 10,485
    W7 Pro SP1 64bit
       #7

    > It's pretty dumb that windows don't fix this...

    Microsoft (Windows) will not be fixing this because it is not broken. MS has file/folder naming rules/reasons. Other operating systems have their file/folder naming rules/reasons.



    > Do you know why it allows a dot, when extracting rar,
    > but gives a error, when you delete, open, or move it?

    Microsoft (Windows) allows* files/folders to be written this way because the Windows operating system can be used to serve up files to computers that use other operating system. In other words, a computer running a Windows operating system can hold files used by a computer running one of Apple's operating systems.



    > ...I [was] using winrar
    When you used WinRAR to extract the files/folders, the WinRAR app knew that you were writing the files/folders to a computer that is using the Windows operating system. The WinRAR app might have even checked/known that the name was invalid for the Windows OS. But the WinRAR app had no way of knowing what operating system you would use to interact with these files/folders after extraction. (e.g. perhaps you were putting files on your Windows based computer, but you planned on using a Linux Virtual Machine to run those files.) So, the WinRAR app named the files/folders just as they were in the RAR file.




    * Microsoft provides APIs (Application Programming Interfaces). An MS API usually has various checks built in to help programmers get things done the way that the Windows OS wants (needs?) them done. The authors of WinRAR probably opted not to use the MS APIs for writing files/folders. Or, the authors of WinRAR called the MS APIs in such a way as to avoid MS's file/folder naming rules. Either way, it was WinRAR that went around Microsoft's normal checks (and that is okay).
      My Computer


  8. Posts : 13,576
    Windows 10 Pro x64
       #8

    Excellent explanation UNI :)
      My Computer


  9. Posts : 96
    Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #9

    Thanks for the explanation UsernameIssues

    I will keep a watchout for RAR that has two dots in it's filename.

    e.g. AAA..rar.

    I still think Winrar should fix this though.

    Since it is a windows app, so it should comply with windows standard.
      My Computer


  10. Posts : 6,741
    W7 Pro x64 SP1 | W10 Pro IP x64 | W8.1 Pro x64 VM | Linux Mint VM
       #10

    madmax2 said:
    I still think Winrar should fix this though.
    There's nothing to fix. Just click on Extract files... and choose the name of the destination folder.
    Can't delete or open folder that end with a dot-capture.jpg
      My Computer


 
Page 1 of 4 123 ... 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 07:55.
Find Us