Run command sets RP_WIN64PROCESS=0

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Grovkillen
Automation Wizard
Posts: 1128
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Run command sets RP_WIN64PROCESS=0

Post by Grovkillen » Thu Apr 06, 2023 9:51 am

Code: Select all

Let>RP_WIN64PROCESS=1
Run>cmd /c
//RP_WIN64PROCESS=0 after the command is executed... 
Seems like a bug?

EDIT: The manual tells me (in text) that the RP_WIN64PROCESS is used to temporarily set the process to 64 bit. No other parameter is working this way and to me it would be more clear if the variable was named RP_TEMP_WIN64PROCESS or something. But I can see why it's a good way of having a temp variable. Perhaps other variables could be used this way too, like the CF_OVERWRITE which could be reset to whatever it was before the CopyFile command was executed.
Let>ME=%Script%

Running: 15.0.27
version history

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1378
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Run command sets RP_WIN64PROCESS=0

Post by Dorian (MJT support) » Mon Apr 10, 2023 3:27 pm

I'm waiting for Marcus to confirm, but I think this may be by design, as the help file describes it as temporary...

"If attempting to run a 64 bit system process residing in the System32 folder on Windows x64 you can set RP_WIN64PROCESS to 1 to temporarily disable file system redirection."
Yes, we have a Custom Scripting Service. Message me or go here

User avatar
Grovkillen
Automation Wizard
Posts: 1128
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: Run command sets RP_WIN64PROCESS=0

Post by Grovkillen » Mon Apr 10, 2023 3:30 pm

I see, but it's not like everything else is behaving and need to be more clear in the instruction manual in my humble opinion.
Let>ME=%Script%

Running: 15.0.27
version history

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1378
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Run command sets RP_WIN64PROCESS=0

Post by Dorian (MJT support) » Tue Apr 11, 2023 8:21 am

Point taken.
Yes, we have a Custom Scripting Service. Message me or go here

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