Archived

This topic is now archived and is closed to further replies.

randomDecay

placing files in the windows temp folder

Recommended Posts

When the user creates a new text document in my program, I want to call it Untitled.txt and place it in the Windows temp folder. How do I know where the user''s temp folder is (or if they even have one)? What I''m saying is what if the user has windows on their D: driver or F: Drive and not on C:? How do I locate this folder or locate the Windows folder to place this file in? Thanks.

Share this post


Link to post
Share on other sites