I want to change the repo location

Is it possible to change the location of the repo to another drive, my repo is on drive C, it is only 250GB. I need to move repo to D drive where 1 TB is left

https://docs.ipfs.io/how-to/move-ipfs-installation/