0

I am trying to automate installation of applications. Specific exe files have slight differences in their input parameter. So, I am trying to parse the list programmatically. For that, I would need to result of Setup.exe /? or Setup.exe /help in a txt, csv etc.,

Currently, the result will come as a pop-up toast, which cannot be inputted to a program.

4
  • A couple of quick links for now: 1, 2. Commented Mar 19, 2021 at 0:28
  • @SteinÅsmul - I am trying to find out a way to export the values generated by setup.exe /? as a txt etc., Unfortunately these links explain more about the command line parameters itself and not the way to fetch them programmatically Commented Mar 22, 2021 at 18:27
  • I have never tried this - do you do a pipe (Sample: dir >> list.txt) from command line and it never gets into a text file? Every setup.exe can be different. There is no set way to find these things that I know of. There was a tool which seemed to search for command switches with string searches of the binary itself, but it triggered a lot of malware alerts so I stopped linking to it. I will have a look to see if I can find what it is called. I would check SysInternals first. Commented Mar 22, 2021 at 18:41
  • Process Explorer can be used to show embedded strings in running binaries. Commented Mar 22, 2021 at 23:23

0