|  RSS

PC World Forums: Cannot delete XP invalid folder. - PC World Forums

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Cannot delete XP invalid folder.

#1 User is offline   kycdh Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 11
  • Joined: 19-May 08

Posted 19 May 2008 - 11:33 AM

I am running a Dell 8500/80GB/1GB running Windows XP Prof.

Someone/something generated a Folder named *,jpg (the comma is real, not a typo)

The folder cannot be deleted, moved or renamed by any normal means, XP always reports an invalid file-name.

I have tried third party software such as "DelvInvFile" with no luck.

I cannot run back-up software any more as a file scan reports disc errors, so this is very serious.

MS wants $59 to try to fix it and I have have spent many thousands on buying their rotten software.

I would appreciate some real help with this one.

Thank you.
0

#2 User is offline   coastie65 Icon

  • Moderator
  • PipPipPipPipPipPipPipPip
  • Group: Moderators
  • Posts: 10,338
  • Joined: 02-April 07
  • Location:Richmond Va.

Posted 19 May 2008 - 11:40 AM

Hi kycdh and welcome to the forum, Have you tried running that file name in search in windows explorer and then deleting that way ( right click and then delete ) ?
0

#3 User is offline   kycdh Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 11
  • Joined: 19-May 08

Posted 19 May 2008 - 11:43 AM

Yup, that was the first thing on the list. Thanks for trying though.
0

#4 User is offline   coastie65 Icon

  • Moderator
  • PipPipPipPipPipPipPipPip
  • Group: Moderators
  • Posts: 10,338
  • Joined: 02-April 07
  • Location:Richmond Va.

Posted 19 May 2008 - 11:48 AM

Hey, as you probably know the comma in the file name instead of a dot is the problem. Have you tried changing the file name ? coastie65
0

#5 User is offline   kycdh Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 11
  • Joined: 19-May 08

Posted 19 May 2008 - 11:59 AM

Hey Coastie, As I said in the original message: The file cannot be renamed.
0

#6 User is offline   mphenterprises Icon

  • Moderator
  • PipPipPipPipPipPipPipPip
  • Group: Moderators
  • Posts: 12,259
  • Joined: 19-February 07
  • Location:Philadelphia, PA

Posted 19 May 2008 - 12:04 PM

Hi KYCDH and welcome to the PCWorld Communities. :D




I have an idea from where you received this file but that is neither here nor there. Now, this is going to be a bit tricky but it is possible to remove. First, as Coastie suggested, try to rename the file. More than likely, any Right Click functionality is gone except for things such as Properties.

If that does not work for you, try these suggestions:

- Copy all essential files from within the folder where the affected file is located and paste them into a new folder. Once done, delete the folder with the file inside.

- With all essential files still out of the folder where the affected file is located, restart your computer in Safe Mode. When in Safe Moder, delete the folder with the file inside. If you are not sure how to access Safe Mode, follow the steps laid out within this Document {document:id=1093}.

- Write down the entire file name of the affected file exactly as you see it (account for spaces, dashes, or any characters). Open C: Prompt and navigate to the affected folder level, not the file level, and delete the file from within DOS. If you are not sure how to navigate within the C: Prompt window, please post.
0

#7 User is offline   coastie65 Icon

  • Moderator
  • PipPipPipPipPipPipPipPip
  • Group: Moderators
  • Posts: 10,338
  • Joined: 02-April 07
  • Location:Richmond Va.

Posted 19 May 2008 - 12:07 PM

Yeah, I saw it, just forgot what I read I guess. Senior Moment. :D You might try creating a new folder and then try and move the file to that folder then see if you delete it that way. coastie65
0

#8 User is offline   mcbarker Icon

  • Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,078
  • Joined: 10-August 06
  • Location:Connecticut, USA

Posted 19 May 2008 - 12:13 PM

Here's another couple of ideas...





Did you try removing the directory from the command prompt? If not, in Windows Explorer, make sure that the folder in question is not write protected. If it is, remove the write protection, then click on Start, then Run, and type CMD in the box. Type in the following format:




RD Drive:path,jpg, where Drive: is the drive letter the folder is on, and path is the full path to that folder. For example, if the folder is in the root directory, type:




RD C:,jpg



or if the folder was off of the Program Files directory, you would type the following:




RD C:Program Files,jpg



If that doesn't work, download a program called Unlocker... You can get it HERE




Follow the instructions on how to install and use it, and you should be able to delete the folder. After you do that, I suggest you get a good antivirus and spyware program and do thorough scans in safe mode.
0

#9 User is offline   kycdh Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 11
  • Joined: 19-May 08

Posted 19 May 2008 - 12:34 PM

Thanks mcbarker:

The system response as always is:

Error Renaming File or Folder

Cannot rename *,jpg: The Filename, directory name, or volume label syntax is incorrect.

Unlocker supplied the above when I tried to use it per your suggestion.
0

#10 User is offline   mphenterprises Icon

  • Moderator
  • PipPipPipPipPipPipPipPip
  • Group: Moderators
  • Posts: 12,259
  • Joined: 19-February 07
  • Location:Philadelphia, PA

Posted 19 May 2008 - 12:36 PM

Did you try any of the other suggestions provided?
0

#11 User is offline   kycdh Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 11
  • Joined: 19-May 08

Posted 19 May 2008 - 04:09 PM

Yes mphenterprises, in fact most of the suggestions were tried before posting the original message. I am an old (70 years to be exact) DOS sys-op from days of yor with tricks up my sleeves from those days when it was easy to modify a DOS FAT to delete etc.
I find it very irritating to use a file system (in XP) which permits files & folders to be generated that cannot be altered or deleted (fixed) Security needs do not excuse such conflicts. I find it even more irritating for the author of such nonsense to ask me (the customer who paid good money for it) to pay to fix the author's shortcomings.

Clearly what is needed here is a pro-tool for modifying file code structure to fix "forbidden" structure. I would not like to cost my time & effort for formatting and re-creating this hard drive content, particularly as I cannot back it up in it's present state.

Thank you for your suggestions.
0

#12 User is offline   mcbarker Icon

  • Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,078
  • Joined: 10-August 06
  • Location:Connecticut, USA

Posted 19 May 2008 - 04:46 PM

Don't use Unlocker to rename the folder, use it to delete the folder... and I still recommend that virus scan.
0

#13 User is offline   mphenterprises Icon

  • Moderator
  • PipPipPipPipPipPipPipPip
  • Group: Moderators
  • Posts: 12,259
  • Joined: 19-February 07
  • Location:Philadelphia, PA

Posted 19 May 2008 - 05:12 PM

mcbarker said:


>

Quote

...and I still recommend that virus scan.

>
>



I second that, in Safe Mode preferably.
0

#14 User is offline   kycdh Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 11
  • Joined: 19-May 08

Posted 20 May 2008 - 06:36 AM

A Mcafee scan is done every day without fail, I forgot to mention it earlier.

Safe mode refuses to help with the delete.
0

#15 User is offline   mphenterprises Icon

  • Moderator
  • PipPipPipPipPipPipPipPip
  • Group: Moderators
  • Posts: 12,259
  • Joined: 19-February 07
  • Location:Philadelphia, PA

Posted 20 May 2008 - 07:46 AM

I would not rely 100% on McAfee to secure your computer. However, since McAfee does not play well with any other security applications, the process to remove McAfee for any other application is not warranted at this point.

If I may ask, from where did you get this file?
0

#16 User is offline   kycdh Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 11
  • Joined: 19-May 08

Posted 20 May 2008 - 07:59 AM

The date on the file indicates that I was loading jpegs from my Sony camera at the time. It was probably a typo on a copy command by me. A comma instead of a period, but XP should not have allowed this.
0

#17 User is offline   Number3124 Icon

  • Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,366
  • Joined: 21-April 07
  • Location:South East Virginia

Posted 20 May 2008 - 08:14 AM

Have you tried using a file shredder to overwrite the file instead of just deleting it? SpyBot S&D comes with one.
0

#18 User is offline   mphenterprises Icon

  • Moderator
  • PipPipPipPipPipPipPipPip
  • Group: Moderators
  • Posts: 12,259
  • Joined: 19-February 07
  • Location:Philadelphia, PA

Posted 20 May 2008 - 08:34 AM

Okay. I did a couple of test and here is what I determined:

- I created a test text file test.,txt and I was able to delete the file

- I created a test .jpg file test.,jpg and I was able to delete the file




You are right. Windows should not have allowed this but in both instances, I was able to delete the file.




ADDED:

I noticed that your original post reference *,jpg. I tried my experiment using this formatting and I was still able to delete the files.
0

#19 User is offline   mcbarker Icon

  • Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,078
  • Joined: 10-August 06
  • Location:Connecticut, USA

Posted 20 May 2008 - 11:05 AM

Is the file name literally ,JPG* (Complete with asterisk)? If so, the asterisk is the problem since it's a filename wildcard, and as such, is not an allowed filename character in either a file or a folder. I believe that a comma is allowed in naming files and folders.
0

#20 User is offline   mphenterprises Icon

  • Moderator
  • PipPipPipPipPipPipPipPip
  • Group: Moderators
  • Posts: 12,259
  • Joined: 19-February 07
  • Location:Philadelphia, PA

Posted 20 May 2008 - 11:25 AM

Hi MCBarker. I think he was just using the asterisk as a placeholder. I tried to create a filename using an asterisk and I received this message:

Posted Image



Click on the image to expand it
0

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users