Shell command problem on Windows 7
pete at lcsql.com
Tue Oct 16 17:27:39 EDT 2012
My latest post explains more about this - it's not the program
name itself that causes the problem - it's the fact that
I'm passing parameters into the program on the command line enclosed in
quotes - that's what causes the error despite the fact that exactly the
same command works at a Windows command prompt.
lcSQL Software <http://www.lcsql.com>
On Tue, Oct 16, 2012 at 2:00 PM, Bob Sneidar <bobs at twft.com> wrote:
> I tried that Ralph and it wouldn't work. I got the same result Peter did
> when I excluded the quotes. Another way to do it is shell(quote & tCommand
> & quote)
> That way you can be sure there are quotes when the command is shelled out.
> This would work only if you don't have arguments that must be outside a
> quoted string.
> It's my understanding that the command should work in the command prompt
> without quotes, but there must be something about the shell() function
> itself that messes with the command.
> On Oct 16, 2012, at 12:01 PM, Ralph DiMola wrote:
> > Peter,
> > Lose the quotes around the program name and you should be OK
> > Ralph DiMola
> > IT Director
> > Evergreen Information Services
> > rdimola at evergreeninfo.net
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode