hide/encrypt script files

Hello,
We developed and tested a set of script in GMS files that we run in command line, like this
>> "C:\Program Files\GlobalMapper16_64bit\global_mapper.exe" "C:\folder\sub_folder\script.gms"
But in matter of confidentiality, we want to hide the code in script file some how, so what I'am asking is if there is some way to use the SDK to compile the scripts and still run it in the command line without no one could see what is in the scripts?
Or if you know another way to do it beyonde the SDK.
We developed and tested a set of script in GMS files that we run in command line, like this
>> "C:\Program Files\GlobalMapper16_64bit\global_mapper.exe" "C:\folder\sub_folder\script.gms"
But in matter of confidentiality, we want to hide the code in script file some how, so what I'am asking is if there is some way to use the SDK to compile the scripts and still run it in the command line without no one could see what is in the scripts?
Or if you know another way to do it beyonde the SDK.
Answers
1) Read the encrypted contents from your encrypted script file
2) Decrypt the data to produce the script commands, storing it in memory as a long text string
3) Pass the text string containing the script commands to the API that runs the script. No need to store it in a temporary file.
Assuming your program is called MyProgram, you command line would be something like:
C:\Folder\MyProgram.exe "C:\folder\sub_folder\encrypted_script.gms"
The Global Mapper functionality would be available to your program via the SDK API, so you don't need to run global_mapper.exe.