I am developing a software for windows and there is a function that I need to “System.Shell.execute” a batch file but I want it to have two functions (parameters)
So when I execute:
objShell.ShellExecute("file.bat", "PARAMETER1", "", "open", 2);
it will run the PARAMETER1 in the bat file, and viceverca (for parameter2).
I want to know how i can configure my batch file to do that, Ex:
@ECHO OFF
PARAMETER1
:: execute some code here
PARAMETER2
:: execute some code here
(is possible something like that?)