title: How to write to text file in post build event in Visual Studio?
body: <p>I am creating a Windows Service in Visual Studio. On a post build event, I'd like to have 2 files created in the bin directory called install.bat and uninstall.bat. These files should have the name of the output EXE with a /u or /i in them. The name of the EXE should be dynamically written to the file, not hard coded. Is this possible?</p>