I have a program that creates a lot of temporary files to store the output of command line programs run via a SHELL command. If the user runs the program from their desktop, this results in a lot of temporary files getting created on the desktop.
Is there any way to create a file as hidden right at the time of creation? I know that I could shell an "ATRRIB" command after creation, but I'm just wondering if there is any way to create the file so that it is hidden immediately at the time of creation.