There is such a batch file:
cd "D:\Program Files (x86)\xxxx\xxx\" "D:\Program Files (x86)\xxxx\xxx\xx\3\3.exe" -"D:\Program Files (x86)\xxxx\xxx\Questions\2_2.png" pause It runs my 3.exe program and must pass a parameter to it .
"D:\Program Files (x86)\xxxx\xxx\Questions\2_2.png" The question is, how can I get this parameter in the WindowsForms application? For example, in the variable string fp;