How can i set the image save path

i downloaded the official portable comfyui for Windows on C drive, every image i generated will be saved in the subfolders under the comfyui folder. but i want to save it in D drive to save the space, where and how should i change the settings?