shell start

Ben Fisher boinjyboing at hotmail.com
Tue Feb 1 18:41:06 EST 2005


You'll need to separate that into two different lines.
Try putting a return after myLocation.

If you're still having problems, I've found that sometimes if you write all the shell data to a temporary .bat file it will work better. That way also you can debug by examining the .bat to make sure the commands look right.

A tip:If "myLocation" isn't on the same drive as the SBUnet.exe program, your shell might not work. The cd command will change the directory but *not* the drive. This used to drive me nuts.

-Ben

>Can anyone please tell me why this isn't working...

>get shell("cd " & myLocation & " start SBUnet.exe " &quote& targetURL &quote)

>I'm trying to launch another instance of my program, with the URL I supply.  Unfortunatly it doesn't do >anything.  This should work...shouldn't it?


More information about the Use-livecode mailing list