Specify a separate location for your output file e.g. C:\Users\[PC_NAME]\Desktop\hello.txt
This should work on a Windows PC