Hiya.
I have a pretty nooby question here. I was wondering if it's possible to create a .bat file, that when executed, will execute the copy con command, then edit the file in question (.exe) to execute commands you write in the .bat. So written in cmd it would be something like;
copy con C:\"Some Directory"\filename.exe
/{command here}
^Z {CTRL + Z}
{Hit return}
That does the job in cmd, but how would you write that in a batch file? And is there a way to confirm; for example "Overwrite C:\filename.exe? (Yes/No/Alll)"? But without any input once the file has been run?
If that didn't make any sense, feel free to ask me more about certain parts, or to make it clearer.
Cheers.