<p>Go to <a href="https://bitcoin.org/en/download" rel="nofollow noreferrer">https://bitcoin.org/en/download</a> and get Windows zip file (like <a href="https://bitcoin.org/bin/bitcoin-core-27.0/bitcoin-27.0-win64.zip" rel="nofollow noreferrer">bitcoin-27.0-win64.zip</a>).</p>
<p>In archive get <code>bin/bitcoin-qt.exe</code> and copy it to your new folder. Only this file is needed.</p>
<p>Make a folder called &quot;data&quot; in your new folder with <code>bitcoin-qt.exe</code>.</p>
<p>In a batch file, develop this code:</p>
<pre><code>.\bitcoin-qt.exe -datadir=.\data
</code></pre>
<p>In data folder create folder <code>wallets</code> and move your <code>wallet.dat</code> to this folder.</p>
<p><code>bitcoin.conf</code> will be located in <code>data</code> folder if you need to add any settings.</p>
<p>For updating get archive from link above and replace <code>bitcoin-qt.exe</code> with new one.</p>

CC BY-SA 4.0
2013-12-14T10:27:58.987Z
2024-12-04T18:13:18.627Z
2024-12-04T18:13:18.627Z
user2808311
<ol>
<li>Put the <code>bitcoin-qt.exe</code> binary in the folder</li>
<li>Create a <code>bitcoin.bat</code> file</li>
<li>Open the file with notepad</li>
<li>Add the following line: <code>bitcoin-qt.exe -datadir=.</code></li>
<li>From now on you can start by double-clicking the bat</li>
</ol>

CC BY-SA 3.0
2013-08-31T09:49:10.933Z
You can also create a shortcut, modify the shortcut properties, and add `-datadir=.` there.
gak
CC BY-SA 3.0
2013-12-09T00:09:21.843Z
This should work for any foobarCoin-Qt client.
Austin Burk
CC BY-SA 3.0
2013-01-12T09:19:31.133Z
2013-01-12T09:19:31.133Z
cdecker
<p>It is a nice project and all, but I think in 2013 it shouldn't be a challenge to save all of an application's files into its own folder (maybe even by default), so you can use it without installing/uninstalling.</p>

<p>I just don't have that much space on drive C. I use drive D for stuff. Is there a solution?</p>

<p>Google just brought me to <a href="https://bitcointalk.org/index.php?topic=105014.0" rel="nofollow">this discussion</a> which lead to all the fancy alternatives to the original client. I just want to try original Bitcoin-Qt first.</p>

<p>Would no one be interested in a portable Bitcoin-Qt? It would be very useful in my opinion.</p>

CC BY-SA 3.0
2014-08-01T12:45:34.947Z
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><portable>
How to make Bitcoin-Qt client portable? (Windows)
superuser
# How to make Bitcoin-Qt client portable? (Windows)

(Asked by: username_0 on 2013-01-06)

It is a nice project and all, but I think in 2013 it shouldn't be a challenge to save all of an application's files into its own folder (maybe even by default), so you can use it without installing/uninstalling.

I just don't have that much space on drive C. I use drive D for stuff. Is there a solution?

Google just brought me to [this discussion](https://bitcointalk.org/index.php?topic=105014.0) which lead to all the fancy alternatives to the original client. I just want to try original Bitcoin-Qt first.

Would no one be interested in a portable Bitcoin-Qt? It would be very useful in my opinion.

**Tags:** bitcoin-core, portable

> **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)*.  

---

## 2 answers

### Answer by username_3 on 2013-01-12. Score: 8 | Accepted answer

1. Put the `bitcoin-qt.exe` binary in the folder
2. Create a `bitcoin.bat` file
3. Open the file with notepad
4. Add the following line: `bitcoin-qt.exe -datadir=.`
5. From now on you can start by double-clicking the bat

> **Comments:**
> **username_4**: You can also create a shortcut, modify the shortcut properties, and add `-datadir=.` there.  
> **username_5**: This should work for any foobarCoin-Qt client.  

---

### Answer by username_2 on 2013-12-14. Score: 2

Go to <https://bitcoin.org/en/download> and get Windows zip file (like [bitcoin-27.0-win64.zip](https://bitcoin.org/bin/bitcoin-core-27.0/bitcoin-27.0-win64.zip)).

In archive get `bin/bitcoin-qt.exe` and copy it to your new folder. Only this file is needed.

Make a folder called "data" in your new folder with `bitcoin-qt.exe`.

In a batch file, develop this code:

```
.\bitcoin-qt.exe -datadir=.\data

```

In data folder create folder `wallets` and move your `wallet.dat` to this folder.

`bitcoin.conf` will be located in `data` folder if you need to add any settings.

For updating get archive from link above and replace `bitcoin-qt.exe` with new one.


---

