in reply to Run .exe and send input

This almost appears as though you want something to occur behind the user's back, and without their knowledge, including creating a file that they may not know about.

I don't use Windows often, but I know an Alt-F4 silently closes a Window.

Am I correct in these assumptions? If not, could you please explain what it is you're really trying to do here so that myself and other Monks aren't assuming you're trying to do something nefarious? (We see questions to that degree periodically).

Replies are listed 'Best First'.
Re^2: Run .exe and send input
by ksublondie (Friar) on Oct 29, 2019 at 21:49 UTC
    Yes, you are correct in that I need this to occur behind the user's back and no, this is not nefarious.

    We have a 3rd party app that uses a unique keyfile on the workstation. This exe creates that file. We'd like to convert these workstations to a vmware appstack environment, so I need the ability to run this exe to create these keyfiles dynamically as needed.