Home > Software engineering >  How to modify an exe file to its execution with parameters?
How to modify an exe file to its execution with parameters?

Time:10-04

As title, such as I am a 1. Exe file to run when can take parameters 1. Exe - t

How it can be modified directly open even when not followed - t can also bring their own - t this parameter

CodePudding user response:

Program first let the default execution function you need, then there is parameter in accordance with the

Don't you like to change the code and execution time and with no parameters, that is better than with a bat,

CodePudding user response:

reference 1st floor jennyvenus response:
let the default execution function, you need and then there are the parameters in accordance with the

Don't you like to change the code and execution time and with no parameters, that is better than with a bat,

Then the bat with bat2exe software into an exe

CodePudding user response:

refer to the second floor zhao4zhong1 response:
Quote: refer to 1st floor jennyvenus response:

Program first let the default execution function you need, then there is parameter in accordance with the

Don't you like to change the code and execution time and with no parameters, that is better than with a bat,

Then use the bat bat2exe software into an exe

CodePudding user response:

Directly to have the parameters are not as they went

CodePudding user response:

Create a shortcut, provide the EXE parameters in the shortcut, it each time you double-click the shortcut to run is belt and run,

CodePudding user response:

Is its own internal logic no argument processing as a parameter

CodePudding user response:

Intercept the target is 1. Exe CreateProcess function,
Position module's import section into your own writing a function,
And make the CreateProcess function calls to start 1. Exe, and then his pass to the command line
  • Related