This question already has an answer here:

I down loaded Bitcoin core to my D drive, because it's too big for my C drive. Bitcoind.exe keeps creating AppData/Roaming/bitcoin where the core is down loaded. However I already have the core fully down loaded to my "D:/Bitcoin Core data" What commands can I put into command line in Windows to direct bitcoind.exe to continue to write to the D Drive. Also how would I create a short cut to replicate this with out having to always type it in the command line.

Is there any way to automate the process.

marked as duplicate by KappaDev, Pieter Wuille, Andrew Chow Dec 7 '18 at 19:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


There are a few ways to do it one of which is modifying the shortcut as you've mentioned.

The easiest way is to create a bitcoin.conf file in %APPDATA%\Bitcoin. That's the default directory bitcoind will look for a configuration file.

Based on your question you can set the contents of bitcoin.conf to:

datadir=D:\Bitcoin Core data

Not the answer you're looking for? Browse other questions tagged or ask your own question.