Im pretty shure this is a windows question, so im asking it here. Is there a way to save a fstream file in a different file folder than the program?

for example say my program creates a file called "the.txt", and the program is in C:\documents and settings\c++. how could i save it in C:\documents and settings\the ?