Jump to content

Recommended Posts

Posted

Hi Friends,

Run command does not work for a C++ application on my machine.

#RequireAdmin
local $s_BerimbauLoc = "C:\Program Files (x86)\Berimbau iTV Author\berimbau.exe"
if FileExists($s_BerimbauLoc) Then
Run ($s_BerimbauLoc) ; Run the Berimbau application
EndIf

When I execute the script it shows an error

Posted Image

The application executes fine when I manually execute the application from the same location. Is there anything wrong with my script?

Please help.

Regards,

pooja.

  • 2 weeks later...
Posted

Hi,

I'm sorry for a very late reply. I never received a notification on my mail regarding your reply.

Yes, Specifying a working directory fixed the problem.

Thank you so much.

Kind regards,

Pooja.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...