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: Accidentally created folder with name <space> / ASCII 32. Can't delete

17 Aug 2013   #1

Windows 7 Ultimate 32 bit
Accidentally created folder with name <space> / ASCII 32. Can't delete

In windows we cannot rename a folder to " " or <space>. it won't accept the name. I was just wondering about that. so tried a script to create folder with ascii 32 code. The folder was created, but now i am stuck with it. I can not delete/rename it. On trying to delete/rename it shows "Folder in use by some other process" error.

The folder i created is on desktop
"C:\Users\<User name>\Desktop"

If i open it, the path changes to
"C:\Users\<User name>\Desktop\ "
But the contents shown are same of the parent folder. Only difference is anything cannot be accessed from here.

The issue should not related to any permissions because i haven't touched them.
I have attached some screenshots here.

If anyone can help..Thanks a lot.

Attached Thumbnails
-error-1.png   -error-2.png  
My System SpecsSystem Spec
17 Aug 2013   #2

Microsoft Community Contributor Award Recipient

Windows 7 Professional 64bit


Well you could try restoring the system back to before you created the folder.

Failing that follow this tutorial:

If that fails you could try a program like Unlocker:

One of these methods should work for you


My System SpecsSystem Spec
17 Aug 2013   #3

Windows 7 32 bit

Try Unlocker

It's good to have anyway.
My System SpecsSystem Spec

17 Aug 2013   #4

Windows 10 Pro X64

What does it look like from a Elevated Command Prompt?
My System SpecsSystem Spec
17 Aug 2013   #5

W7 Ultimate SP1, LM18 MATE, W10IP VM, W10 Home, #All 64 bit
Live Linux CD/DVD

You should be able to delete the offending folder using Linux.

Can you get access to a Live Linux CD/DVD (e.g. Ubuntu or Linux Mint)?

You could also create your own disc or USB stick.
Linux is free to download and use.
My System SpecsSystem Spec
18 Aug 2013   #6

Windows 7 Ultimate 32 bit
Problem solved.. but many things to learn

ok guys..the problem is solved. Thanks everyone. After successfully deleting the folder, i went on experimenting (of course on my data partition, not on the desktop folder)

The system restore did not solve the problem.
Most probable reason may be, it restores system files. and this folder was on <user>\desktop\
Neither the command prompt method worked.

Exporer Method:
What i did was. Moved all other files to another location.
then i tried to delete the parent folder. (<user>\desktop). and its gone.

But the important implication is of this method is, you have to delete parent folder.
what if i created it on root of my hard disk/ or inside some system folder??

Unlocker method:
I had used Unlocker many a times. But the portable version which i had stopped working without any reason.I don't know why that happened.(even with antivirus disabled). I downloaded installer version and that went well.

for experiment, i created "E:\a\b\c\d\<space>"

Unlocker shows, 3 to 4 explorer.exe handles having lock on this. If we simply unlock, and try to delete "E:\a\b\c\d\<space>" from windows explorer , even the parent folder "d" gets deleted along with it.

But if u Unlock & delete from unlocker, then only "E:\a\b\c\d\<space>" gets deleted.

I think this is kind of a bug in windows, creating such folder is not allowed from windows itself. But if u can manage to create such folder, it causes strange issues like circular entries, access error etc..

Thanks everyone for great ideas and help.
My System SpecsSystem Spec
18 Aug 2013   #7

Microsoft Community Contributor Award Recipient

Windows 7 Professional 64bit

Glad your sorted.

Please mark the thread as solved.


My System SpecsSystem Spec
19 Aug 2013   #8

Windows 7 32 bit

Another way to get at things ordinarily locked by the system is using RunIt

It's just a convenient way to access the Run Once in the Registry. I used it often to run a program that deleted all index.dat files on my system. Ordinarily index.dat files are locked by the system. But the program launched by RunIt is executed before logon.

Be sure to download from the Softpedia download link. My old web site is down. But a friend has offered me web space. I hope to get a page of some sort back up in a month or so. I need to get a laptop to work/program with in the interim.
My System SpecsSystem Spec

 Accidentally created folder with name <space> / ASCII 32. Can't delete

Thread Tools

Similar help and support threads
Thread Forum
Restoring "Date Created" timestamp after accidentally changing it.
Hey 7-Forums! I have my music library, a 20GB folder on my hard-drive, containing a few thousand mp3s. I use iTunes to play them, and I've always sorted them (inside iTunes) using the "Date Modified" property. As a result of this sorting order, say, if I found out an old song had the wrong...
General Discussion
Accidentally created cyclic directories
I accidentally hard linked my downloads folder to my username folder. I just installed an SSD, and I was relocating my libraries to my HDD when somehow this happened. I have no idea how to fix it without possibly messing more stuff up. It seems all my other libraries were moved just fine. I...
General Discussion
Hidden folder in recycle bin taking up space, is it safe to delete?
After clearing out a large portion of junk from my 1TB harddrive using WinDirStat, I still had a large amount of files hidden away in $Recycle.Bin. The directory goes something like this: $Recycle.Bin/(lots of numbers and dashes)/$RXQ4DY2/(the files I deleted). There are several of the $RXQ4DY2...
General Discussion
Accidentally deleted a folder I created in my "my videos" folder
I had accidentally deleted a folder I created in my "my videos" folder and I'm not quite sure how to get it back or find its contents. :S any help would be amazing as I've spent a lot of time building that folder.
Music, Pictures & Video
Add Delete to Recycle Bin to Context Menu on Folder Space
I want something on the context menu that: 1. I can right click on empty folder space within the folder 2. Context menu says "delete folder to recycle bin" 3. The folder and all its contexts disappears and therefore so does the window I just used to delete it You can do this with filemenu...
Can't delete a self-created folder on desktop
OK...ALL in the same 30 minutes.... I created 2 folders on my desktop, one called The Faces, one called Rod Stewart. I ripped some music to both, burned a CD from each, and then the fun started. I right-clicked on The Faces folder, deleted. No prob. I right-clicked on Rod Stewart folder...
General Discussion

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 00:36.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App