info-mtools
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [mtools] mtools 3.9.9 handles special charaters wrong?


From: Alain Knaff
Subject: Re: [mtools] mtools 3.9.9 handles special charaters wrong?
Date: Sat, 24 May 2003 21:05:06 +0200
User-agent: KMail/1.5.1

On Monday 28 April 2003 11:14, andreas thorn wrote:
> (Sorry if this has been discussed before. I did not find any previous
> posting about anything relating to this except for the the recent thread
> about supporting japanese characters in filenames.)
>
> I am using mattrib 3.9.9 with the batch mode attribute (-p) to modify file
> attributes on a FAT32 partition (Windows XP) and mattrib seems to be
> handling filenames containing $ incorrectly.
>
> 1) I use;
>   mattrib -/ -p c:* >> batchfile.sh
>
> 2) And then when I do;
>   sh batchfile.sh
>
> I get alot of errors on files containing $
>
> It seems mattrib wants to do the following;
>   mattrib +h "C:/windows/$NtUninstallQ327979$/spuninst/spuninst.bat"

I just checked with 3.9.9, and I does escape the dollar signs:

> mcopy /etc/issue 't:$$'
> mattrib +s 't:$$'
> mattrib -/ -p t:
mattrib +s "T:\$\$"


The relevant piece of code was already in 3.9.8 (and possibly
earlyer).

Are you sure you aren't picking up an older version of mtools (can
happen easily if you have a self-compiled new version in
/usr/local/bin, and an older from your distribution in /usr/bin, but
/usr/bin is earlyer in the PATH). To check, to

 which mattrib

and

 mattrib -V

Regards,

Alain


_______________________________________________
mtools mailing list
address@hidden
http://www.tux.org/mailman/listinfo/mtools


reply via email to

[Prev in Thread] Current Thread [Next in Thread]