What the Shell is wrong here?
Ken Ray
kray at sonsothunder.com
Tue May 20 20:46:02 EDT 2003
Howard,
You need to wrap the pathname in quote marks since it has spaces in it. So
it should work if you do this:
get shell ("attrib -r" && quote & "C:\Documents and Settings\IFTF\My
Documents\Consumer Segmentation\resources\Process Guide Steps.rev" & quote)
BTW: What Windows OS are you running?
Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
> From: Howard Bornstein <bornstein at designeq.com>
> Reply-To: use-revolution at lists.runrev.com
> Date: Wed, 21 May 2003 01:22:45 -0400
> To: <use-revolution at lists.runrev.com>
> Subject: What the Shell is wrong here?
>
> I'm trying to execute a DOS shell command within my script to clear the
> read-only file attribute of a file that has been copied from a CD (I'm
> delivering the app on a CD and need to make one of the stacks writable).
>
> Based on previous posts on this subject, I'm using a command that
> evaluates to:
>
> get shell ("attrib -r" && "C:\Documents and Settings\IFTF\My
> Documents\Consumer Segmentation\resources\Process Guide Steps.rev")
>
> I've proven that the path is correct for the file I'm trying to affect.
> If I type this command into the Message box however, I get this error
> message:
>
> Script Compile Error.
> Error Description: Script: missing "" after literal
>
> I can't figure out where the problem is and what the error message means.
>
> Little help?
>
> Regards,
>
> Howard Bornstein
> ____________________
> D E S I G N E Q
> www.designeq.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list