Deleting corrupted files with special characters in their file names

  • Thread starter Thread starter Chris W
  • Start date Start date
C

Chris W

I after a SD card was inadvertently removed from the UPB reader, several
files were corrupted and now will not delete. The error message I get
when trying to delete them is
"Can not delete file.. Can not read from the source file or disk."

when I go to the command prompt and try to do a del . or a del *.* I get
this error

"system can not find the file specified
the filename directory name or volume label syntax is incorrect."

I had a similar problem before and found a solution on google but for
some reason I am not having much luck doing that today.

--
Chris W

Bring Back the HP 15C
http://hp15c.org

Not getting the gifts you want? The Wish Zone can help.
http://thewishzone.com
 
I after a SD card was inadvertently removed from the UPB reader, several
files were corrupted and now will not delete. The error message I get
when trying to delete them is
"Can not delete file.. Can not read from the source file or disk."

when I go to the command prompt and try to do a del . or a del *.* I get
this error

"system can not find the file specified
the filename directory name or volume label syntax is incorrect."

I had a similar problem before and found a solution on google but for
some reason I am not having much luck doing that today.

Try the technique from tip 167 in the 'Tips & Tricks' at http://www.jsiinc.com
See tip 5533.

encapsulate the path in quotes.


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Jerold said:
Try the technique from tip 167 in the 'Tips & Tricks' at http://www.jsiinc.com
See tip 5533.

encapsulate the path in quotes.

that looks similar to what I did before but it's not woking here. I
can't type in or copy and past a file name because there are mostly
spaces and just a few other odd characters. The only way I have found
to give me the real name of the file is using cygwin to list the folder
contents and this is what I get. . .

$ ls
ls: t: No such file or directory
ls: N: No such file or directory
ls: + vk
: No such file or directory
ls: Descript.ion: No such file or directory
ls: : No such file or directory
ls: s: No such file or directory
ls: i: No such file or directory
ls: d: No such file or directory
ls: o: No such file or directory
ls: (R: No such file or directory
ls: ¡;@î%+?.: No such file or directory

when I do an rm * I get this. . .

rm: cannot remove ` ': No such file or directory
rm: cannot remove ` \241;@\356%+\001.': No such file or directory
rm: cannot remove `(\aR': No such file or directory
rm: cannot remove `+\240\240\240vk\n': No such file or directory
rm: cannot remove `Descript.ion': No such file or directory
rm: cannot remove `N': No such file or directory
rm: cannot remove `d': No such file or directory
rm: cannot remove `i': No such file or directory
rm: cannot remove `o': No such file or directory
rm: cannot remove `s': No such file or directory
rm: cannot remove `t': No such file or directory

--
Chris W

Bring Back the HP 15C
http://hp15c.org

Not getting the gifts you want? The Wish Zone can help.
http://thewishzone.com
 

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

Similar Threads


Back
Top