Windows file visibility

Roger.E.Eller at sealedair.com Roger.E.Eller at sealedair.com
Sat Mar 4 20:52:54 EST 2006


> basically I'm doing this:
> #creating a text file
> #then attempt to make it invisible:
> 
> put "attrib +h" && thePathToMyFile into commandString
> get shell commandString
> 
> But my file remains visible.

Marty,

You may just be conflicting with your OS settings. Do you have XP folder 
options set to show hidden files? Another possibility is that you are 
using a / rather than a \ as the path folder delimiter. Any time you use 
shell on Windows, you need to replace "/" with "\" in commandString before 
executing the get shell command.

Roger Eller <roger.e.eller at sealedair.com>




More information about the Use-livecode mailing list