PS2EXE
PS2EXE copied to clipboard
Passing Paremeters to EXE
I am trying to pass parameters to my executable powershell which is done by your project, But there is an issue while passing the same. It can not take parameters normally, It treat my parameters as a path or an application(e.g. If I pass an Image path to exe it open that image). So, Is there any way to take me out from this please suggest. Thanks
The arguments from the exe will be parsed as $args array in powershell.
e.g. to access the first parameter use $args[0]
in your PowerShell script