Run>control

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Run>control

Post by armsys » Sun May 01, 2011 11:40 pm

Run>control won't run in a MS script regardless of RP_ADMIN setting. Please help. Thanks.

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

Post by Marcus Tettmar » Mon May 02, 2011 8:25 am

One topic not three would have done. Have you tried turning off 64 bit redirection:

http://www.mjtnet.com/blog/2010/09/15/a ... direction/
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Post by armsys » Mon May 02, 2011 8:44 am

Hi Marcus,
>One topic not three would have done.
Sorry.

The following script works fine.
# //turn off File System Redirection
Let>RP_ADMIN=1
Let>RP_WINDOWMODE=0
LibFunc>kernel32,Wow64DisableWow64FsRedirection,result,0
Run>"cmd.exe" /c sdclt
# //revert File System Redirection
LibFunc>kernel32,Wow64RevertWow64FsRedirection,result,0

Thanks for your help.

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