Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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

23 May 2015   #1
madmax2

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 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."



My System SpecsSystem Spec
.
23 May 2015   #2
AddRAM

Windows 7 Pro x64 Windows 10 Pro x64
 
 

Put in in another folder, try to delete that.
My System SpecsSystem Spec
23 May 2015   #3
madmax2

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by AddRAM View Post
Put in in another folder, try to delete that.
you cannot
-move it
-delete it
-open it
My System SpecsSystem Spec
.

23 May 2015   #4
Ztruker

Windows 10 Pro X64
 
 

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 System SpecsSystem Spec
23 May 2015   #5
UsernameIssues

W7 Pro SP1 64bit
 
 

See this post:
Solved:

Code:
rd /s "\\?\C:\Documents and Settings\User\Desktop\Annoying Folder."
My System SpecsSystem Spec
23 May 2015   #6
madmax2

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by UsernameIssues View Post
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 System SpecsSystem Spec
24 May 2015   #7
UsernameIssues

W7 Pro SP1 64bit
 
 

> 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 System SpecsSystem Spec
24 May 2015   #8
AddRAM

Windows 7 Pro x64 Windows 10 Pro x64
 
 

Excellent explanation UNI
My System SpecsSystem Spec
24 May 2015   #9
madmax2

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

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 System SpecsSystem Spec
24 May 2015   #10
Boozad

W7 Pro x64 SP1 | W10 Pro IP x64 | W8.1 Pro x64 VM | Linux Mint VM
 
 

Quote   Quote: Originally Posted by madmax2 View Post
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 System SpecsSystem Spec
Reply

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




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
local folder cannot open cannot delete
Hi all! So i know, back on my old win installation, there used to be a folder i couldnt access and couldnt delete or anything. Now, for other reasons, i reinstalled windows with a remaining windows.old folder. Everything from there can be deleted (which i already did) except this very...
General Discussion
Double Click Network folder does nothing to open folder
I have a customer that when he boots up his computer one of his network drives doesn't map properly thus creating headaches with all of his applications that try to use the files on the shared drive. If I double click on the x'd out network drive nothing happens. If I right click on it, it opens...
Network & Sharing
Cannot delete file, open in EFS
12/10/12 Trying to delete a file I believe was migrated over from old Gateway system from 2008 running XP Pro sp3. System says file is open in EFS, but the file is NOT encrypted. Attached is a .zip of the file that I renamed and the original from an old backup showing full name. The file I am...
General Discussion
Not able to delete folder in folder infinite structure.
I was using Netbeans IDE and xampp, It crashed when I moved a project using its function, and when I checked out the folder it had infinite folder in folder structure. Its not possible to delete it , I can not open more than below . . ...
General Discussion
Cannot open folder or continue task because file or folder is open?
Hi all, this is my first post. I'm not sure which category this fits in, so I'll post here first. I just got a new Samsung RC420 laptop with Win7 Home Premium edition OS. When I was installing a software last night, a message pops up and tells me I cannot continue installation until I close a...
General Discussion
How do I delete open pictures all at once in Photoshop
When I open new picture files in Photoshop Elements 5 one at a time the windows get stacked up and when it is time to delete them I have to delete one at a time after it asks me if I want to save them. I have had this problem for years but maybe I am missing something. It doesn't matter if I use...
Music, Pictures & Video


Our Sites

Site Links

About Us

Find 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 13:27.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App