<p>I believe you can specify this directory using the <code>datadir</code> configuration in <code>bitcoin.conf</code>.</p>

<pre><code>-datadir=&lt;dir&gt;         Specify data directory
</code></pre>

<p>See <a href="https://en.bitcoin.it/wiki/Running_Bitcoin">Running Bitcoin</a>.</p>

CC BY-SA 3.0
2013-05-03T02:08:57.833Z
2013-05-03T02:08:57.833Z
Colin Dean
<p>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?</p>

CC BY-SA 3.0
2014-08-01T12:20:07.543Z
Asking about how to change the default storage location has been posted many, many times. The future canonical question is probably *[Bitcoin-Qt setup: Change block-chain file location, settings? documentation?](http://bitcoin.stackexchange.com/questions/9259)*. Possible duplicate of *[Bitcoin-Qt setup: Change block-chain file location, settings? documentation?](http://bitcoin.stackexchange.com/questions/9259)*.
Peter Mortensen
<bitcoin-core><bitcoin.conf>
How do I specify in which directory Bitcoin blocks and other data should be stored?
Enthusiast
# How do I specify in which directory Bitcoin blocks and other data should be stored?

(Asked by: username_0 on 2013-05-03)

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?

**Tags:** bitcoin-core, bitcoin.conf

> **Comments:**
> **username_1**: Asking about how to change the default storage location has been posted many, many times. The future canonical question is probably *[Bitcoin-Qt setup: Change block-chain file location, settings? documentation?](http://bitcoin.stackexchange.com/questions/9259)*. Possible duplicate of *[Bitcoin-Qt setup: Change block-chain file location, settings? documentation?](http://bitcoin.stackexchange.com/questions/9259)*.  

---

## 1 answers

### Answer by username_2 on 2013-05-03. Score: 13 | Accepted answer

I believe you can specify this directory using the `datadir` configuration in `bitcoin.conf`.

```
-datadir=<dir>         Specify data directory

```

See [Running Bitcoin](https://en.bitcoin.it/wiki/Running_Bitcoin).


---

