Error RunProgram

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
lunalucky
Newbie
Posts: 14
Joined: Thu May 18, 2017 2:13 pm

Error RunProgram

Post by lunalucky » Sat Oct 07, 2017 6:55 am

On cmd RunProgram>program.exe it shows this error:
On Win64 if trying to run 64bit system process try bypassing fle system redirection with RP_WIN64PROCESS or referring to SYS_NATIVE.
Can you help me?
Thanks

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Error RunProgram

Post by Marcus Tettmar » Sun Oct 08, 2017 8:55 pm

Most likely the path is wrong, or you first need to use ChangeDir. Can you share your exact code and maybe a screenshot of Explorer showing the same path?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

lunalucky
Newbie
Posts: 14
Joined: Thu May 18, 2017 2:13 pm

Re: Error RunProgram

Post by lunalucky » Mon Oct 09, 2017 7:31 am

I attach the error image. Program sometimes shows this error. Why is access denied?
The code is simple. At line 76:
RunProgram>C:\Luciano\Scommesse\Scommesse\BotBfa\Bfa_Live.exe
WaitProcessTerminated>Bfa_Live.exe

In this program I always use the same path: C:\Luciano\Scommesse\Scommesse\BotBfa\
error.png

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Error RunProgram

Post by Marcus Tettmar » Mon Oct 09, 2017 2:03 pm

Does the app need to be run as admin? What happens if you exit Macro Scheduler completely (File/Exit or Exit from system tray icon menu). Then right click on Macro Scheduler shortcut and select Run as Admin. Then run your script. Does it then work?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

lunalucky
Newbie
Posts: 14
Joined: Thu May 18, 2017 2:13 pm

Re: Error RunProgram

Post by lunalucky » Mon Oct 09, 2017 3:15 pm

Yes, now it works
Thanks

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts