On 2001-05-06 23:15 +0200, Jonas Jensen wrote:

> Did you test it? On my Windows machine I have a file named [];,= on my
> desktop right now, it causes no problems at all. When you rename a file to
> an illegal name in Explorer, you get the error message:
> 
> A filename cannot contain any of the following characters:
>   \ / :  * ? " < > |

Under DOS, "[", "]", "=" and ";" are illegal.

  C:\>echo >[
  Erreur de cr�ation de fichier

  C:\>echo >]
  Erreur de cr�ation de fichier

  C:\>echo >;
  Erreur de cr�ation de fichier

  C:\>echo >=
  Erreur de cr�ation de fichier

"%" is legal

  C:\>echo >%

  C:\>                                                                           
> >  i also donot know why wget checks for illegal characters in dos rather in
> > windows i just retained what was there
> 
> Sure, that's what I thought. I'd like to hear a reason from the wget gurus
> that wrote it in the first place. It would make sense to me to test for
> WINDOWS or DOS or CYGWIN.

Apparently, the set of illegal characters is not the same for
DOS and Windows.

-- 
Andr� Majorel <[EMAIL PROTECTED]>
http://www.teaser.fr/~amajorel/

Reply via email to