This question already has an answer here:
I am on Windows and installed the Bitcoin wallet. The block folder seems to grow bigger everyday and is stored on my C drive in the roaming directory. I would like to set this to some other folder on another drive, which has more place. How would I go about doing this?