Where is the Bitcoin data directory?
The default paths for different systems are written in that link.
For Windows10, it should be in in "
C:\Users\"Your_Username"\AppData\Roaming\Bitcoin"
The shortcut: Use 'Search' or 'Run' (
WinKey+R), type
%appdata%, then go to bitcoin folder.
Then create the config file if you haven't created one yet.
The easiest way is to: right click on an empty space inside the data directory while nothing is highlighted, select "
New->Text Document".
Rename "
New Text Document.txt" into "
bitcoin.conf" (
including the extension from ".txt" into ".conf").
If the extension is hidden, you can display it using the file explorer menu above "
View" and check "
File name extensions".
Then open bitcoin.conf using your txt editor and type
datadir=E:\Bitcoin on the first line, save it.
(
replace "E:\Bitcoin" with the correct path for your custom data directory)