Mike - I've eliminated all spaces in the path but thanks, that's always a good thing to check.

At this point nothing I do flips the Attributes from "A" to "HSA". I've changed the minus to a plus sign and tried Klaus' concatenation syntax but still no change in the Attributes.

Maybe I should also be changing the visibility of the file first. When I set the folder icon manually the system does that. Do you know of a way to change visibility via the shell function?

On 4/16/2015 11:05 AM, Mike Bonner wrote:
oh yep, and as klaus says, if theres a space somewhere in the path, you'll
need to force quotes around it, or use shortfilepath() to obviate the need.


On Thu, Apr 16, 2015 at 9:03 AM, Klaus major-k <kl...@major-k.de> wrote:

Hi Ray,

did you try with QUOTES?

Am 16.04.2015 um 23:00 schrieb Ray <r...@linkit.com>:

Klaus - thanks for the idea.  Just to check my method of concatenation,
the exact command I'm using is:
      get shell("attrib -HSA "&desktopIniPath&"")   -- where
desktopIniPath is the path to the file

get shell("attrib -HSA "& QUOTE & desktopIniPath & QUOTE)

It doesn't work and I see no change in the file's Attributes, Type or
Size.  Livecode returns nothing in the result.
...
Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to