LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 05-Nov-2009, 12:16 PM
Senior Member
 
Join Date: Oct 2007
Posts: 358
W_Prindl 0 reputation points
Default 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

Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 01:49 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2