Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > Code Samples
  New Posts New Posts RSS Feed - Attempting to launch another windows program
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedAttempting to launch another windows program

 Post Reply Post Reply
Author
Message
dsig View Drop Down
Newbie
Newbie


Joined: June 27 2013
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote dsig Quote  Post ReplyReply Direct Link To This Post Topic: Attempting to launch another windows program
    Posted: June 13 2014 at 11:28am
In pick basic, if i want to launch a url I can do something like 

print ESC$:STX$ : "<" : "http://forum.asent.com"

and the browser is launched and the page comes up (hope i didn't fat finger that)

But I want to launch a specific program.  I hoped that I could take the properties from the icon and do similar to above.

print ESC$:STX$ : "<" : "C:\Revsoft\OInsight\OINSIGHT.exe /ap=Sanmar /un=Sanmar /DV=1 /IDE"

So I guess my question is, is there a different method to call a program that windows doesn't resolve?

Thanks
Back to Top
dsig View Drop Down
Newbie
Newbie


Joined: June 27 2013
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote dsig Quote  Post ReplyReply Direct Link To This Post Posted: June 14 2014 at 3:22am
Got this worked out.  So for anyone trying this ..

The simple answer was that because the app i was trying to launch needed additional "bits" during the boot process, the "session" needed to be in the app directory (or where the app could find its files).  So in this case a simple bat file worked well.

Create a bat in temp with something like this .

cd "path to where the app lives"
app.exe /option

THEN in basic/accuterm a simple


print ESC$:STX$ : "<" : "C:\temp\nameOfBat"

worked great.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.