Opening a text file and writing some of its contents to an xlsx file in the current working directory with a .exe
Solution 1:
I tossed my BLRP.txt into the dist folder and ran the BLRP2Excel.exe, and... nothing happened except a flash of the command prompt.
First, your program is producing some kind CLI output, meaning its generating a command window which closes automatically if not already open (the command prompt flash).
Since your program isn't working correctly, this is probably the specific error being encountered. Open a command window in the same directory as your .exe
file (Shift → Right-Click → "Open command window here...") and use that to run the .exe
e.g.
C:\some\dir\dist\BLRP2Excel> BLRP2Excel.exe
Any message(s) produced should help determine the cause of the issue.