It writes to the same folder it was executed from. In this case, c:\Custom Programs. I've never used /ProgramData before. Am I supposed to create a subfolder in it that has the same name as the program and then write data in it.

Hmm, I really don't want to do that. I want to keep everything in one place so our operators don't have to go hunting all over the place for output files.

Another thing I don't understand is why it works fine when I run the program from, C:\Software\Inhouse\Projects\ProcessData\ProcessData\bin\Debug but not from C:\Custom Programs. We use the same server for development.

Any other ideas?


Thanks,
Scott