How to set a windows environment variable on action script

I know how to set a windows environment variable on dos command and relevance.
But I don’t know how to set it on action script.
I want to run the following action.

Move a file to %program files%

Please tell me if you know the way.

action uses wow64 redirection false

move "c:\path\to\source.txt" "{pathname of native program files folder}\destination\destination.txt"

2 Likes