Re: Problems with ATTRIB in scripting
I am not sure why you have still problems with paths containing spaces.
If I enter (exactly as it is written here without any additional
characters):
xx="/media/nss/VOL01/DATEN/KLIENTEN/XXXX/KORR/BU 2007-11 xxxx + y&z.doc"
and afterwards:
attrib "/$xx"
or:
attrib /"$xx"
I get:
ar aa (//media/nss/VOL01/DATEN/KLIENTEN/XXXX/KORR/BU 2007-11 xxxx +
y&z.doc)
So it works for me.
--
W. Prindl
SROSeaner wrote:
>
>Well it is still not working. Cannot get it to parse paths with
>spaces in them properly.
>
>Guess I will have to give up and curse Novell for the remainder of my
>day if it is the attrib command's fault.
>
>Thanks for your help anyway,
>Sean
|