?? Just the same way you would with other folders, except that your program needs the special rights: Either the folder allows regular users write access, or your program runs as admin.
Sorry, I was out fishing. I don't know how to use elevated privliges. The reason I need it to write to Program Files, is because, I'm going to end up making an Admin thing for it, and I need to be able to write to a solid spot. I'm thinking of writing the output to my documents.
The problem is, even with that enabled, and when i click run as administrator, it still brings up an error box. Right now I have it so you all you need to do is click the work administrator in the menu bar and it creates a file
C:\Program Files\Grace_Assembly_Deployment\Administrator
or something like that.
It makes the file, but it still pulls up the error message. I know there has to be a way to fix this, because some viruses don't even prompt you.