Sign in to follow this  
Followers 0
PoojaKrishna

Run command does not work for a C++ application

3 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0