Cannot delete Folder with trailing space

G

Guest

I cannot delete a folder in my start menu->Programs. There is a folder that
was created when I installed a driver for a GPS unit. I cannot delete this
folder. When I try I get the message "Cannot delete file: Cannot read from
the source file or disk." I have tried running chksdk, i have tried deleting
it from a command prompt, ive tried in safe mode, ive tried renaming it, in
the command prompt it says the file does not exist, the thing will not die.
The strange thing about the folder is it is called HOLUX but there is a
trailing space in the name. If you create a folder in windows and put in
trailing spaces windows gets rid of them yet this folder has one intact, I
believe this may be the source of the problem. Dose anyone have a suggestion
on how i can detroy this folder?
 
J

John

Sean said:
I cannot delete a folder in my start menu->Programs. There is a folder that
was created when I installed a driver for a GPS unit. I cannot delete this
folder. When I try I get the message "Cannot delete file: Cannot read from
the source file or disk." I have tried running chksdk, i have tried deleting
it from a command prompt, ive tried in safe mode, ive tried renaming it, in
the command prompt it says the file does not exist, the thing will not die.
The strange thing about the folder is it is called HOLUX but there is a
trailing space in the name. If you create a folder in windows and put in
trailing spaces windows gets rid of them yet this folder has one intact, I
believe this may be the source of the problem. Dose anyone have a suggestion
on how i can detroy this folder?


From a command prompt use quotes around the folder or file names with
odd characters ...

rd "offending directory " /s

del "offending file "

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top