PoojaKrishna Posted December 15, 2011 Posted December 15, 2011 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 EndIfWhen I execute the script it shows an errorThe application executes fine when I manually execute the application from the same location. Is there anything wrong with my script?Please help.Regards,pooja.
Zedna Posted December 15, 2011 Posted December 15, 2011 What OS/user privileges do you have? Try - specify working directory - use RunAs if it will work - check if it's DOS (console) EXE Resources UDF ResourcesEx UDF AutoIt Forum Search
PoojaKrishna Posted December 27, 2011 Author Posted December 27, 2011 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now