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

Hello
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
Accidentally created folder with name &lt;space&gt; / ASCII 32. Can't delete-error-1.png   Accidentally created folder with name &lt;space&gt; / ASCII 32. Can't delete-error-2.png  
My System SpecsSystem Spec
.

17 Aug 2013   #2

Microsoft Community Contributor Award Recipient

Windows 7 Professional 64bit
 
 

Hi,

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

http://www.sevenforums.com/tutorials/700-system-restore.html

Failing that follow this tutorial:

http://www.sevenforums.com/tutorials/55721-folder-delete-command-prompt.html

If that fails you could try a program like Unlocker:

http://www.emptyloop.com/unlocker/

One of these methods should work for you

cheers

Dave
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 8 Core X64
 
 

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

Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 17 MATE (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.
http://www.ubuntu.com/download
http://www.linuxmint.com/download.php
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.

cheers

Dave
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
Reply

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




Thread Tools




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 05:23 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33