Re: Deleting corrupted files with special characters in their file names

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Chris W (1qazse4XYZ_at_cox.net.removeXYZ)
Date: 06/21/04


Date: Mon, 21 Jun 2004 10:56:36 -0500

Jerold Schulman wrote:

> 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


Relevant Pages

  • Re: Deleting corrupted files with special characters in their file names
    ... The error message I get ... encapsulate the path in quotes. ... Jerold Schulman ...
    (microsoft.public.win2000.general)
  • Re: Long file name problem
    ... Jerold Schulman wrote: ... We cannot execute programs with long file names unless we wrap them in quotes. ... This is starting to cause some problem with programs on the system, as they don't wrap their commands in quotes by default. ... I had to do the same thing when install Back-up Exec. ...
    (microsoft.public.win2000.file_system)
  • DAO Control Find Method
    ... I have a recordset bound to a DAO control on a form. ... Since I am using double quotes to encapsulate my find string and single ... quotes to encapsulate the text to find, how do I include a single quote in ...
    (microsoft.public.vb.general.discussion)
  • Re: How do I use IF THEN comparing 2 merge fields?
    ... put quotes around things. ... But how can I suppress the whole line if there is nothing to display (your ... but I don't know how to reveal or encapsulate it. ... the AccountName is a business name that is totally different than ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Can I format the field to 2 decimal places in my sql
    ... and encapsulate in quotes ... Actually, it should work without the re-assignment, shouldn't it ... Al Reid wrote: ...
    (microsoft.public.vb.database)