Windows shell craziness
Dar Scott
dsc at swcp.com
Tue Jul 5 18:12:02 EDT 2016
You have an extra single quote after the 1.
> On Jul 5, 2016, at 3:22 PM, Skip Kimpel <skiplondon at gmail.com> wrote:
>
> Before I go crazy trying to format this properly, how can I format a shell
> call to program with "options?"
>
> For instance I want to call fping.exe which is in the same folder as the
> standalone. However, the fping.exe command line should look like this:
>
> fping.exe 127.0.0.0 -l -n1
>
> This is what is NOTworking:
> put fld "URL" into myURL
> set the hideConsoleWindows to true
> put "start c:\fping.exe "&myurl&"' -l -n 1'" into myShell
> replace "'" with quote in myShell
> get shell(myShell)
> answer it
>
> There is a need for quotes in order to make the switches work properly when
> calling it this way from LiveCode. It is something simple that I am
> missing but it is driving me nuts!
>
> Of course, I need to report back the results
>
> As always, ANY help is greatly appreciated!
>
> SKIP
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list