Making ex cd win files writeable using get shell

DVGlasgow at aol.com DVGlasgow at aol.com
Sun Apr 27 16:08:01 EDT 2003


In a message dated 27/4/03 4:09:19 PM, 
use-revolution-request at lists.runrev.com writes:

<< > Hi David, 

> 

> In this particular case, you're trapped by the fact

> that DOS can't handle names with spaces in them ;

> you'll have to put quotes around the filename.

>   if the platform is "Win32" then

>     put quote & the directory & \

>         "/affin2pics/affinity results.rev" & \

>         quote into tfilename

>     get shell ("attrib -r" && tFileName)

>   end if 

> 

> To solve your other problem (the ugly DOS-window) :

>   set the hideConsoleWindows to true 

> 

> Hope this helped, 

> 

> Jan Schenkel. 

> 

> =====


It is also a good idea to include the Results function in your handler. It 

would have provided a good clue as to what went wrong. 


miscdas >>

Aha! x 2

I'll try both.  Thanks



Best wishes,

David Glasgow
Home/ forensic assessments --> <A HREF="http://members.aol.com/dvglasgow/">
DVGlasgow </A>
Courses --> <A HREF="http://www.i-Psych.co.uk">i-Psych</A>



More information about the use-livecode mailing list