<p>Perhaps it's just an issue with the code block, but I only see one double quote. I assume that the other is before the entire code block, and is used to pass the program name.</p>

<p>The only other possible issues I can think of are to</p>

<ul>
<li>make sure the directory specified in the datadir argument exists and is writable</li>
<li>make sure that the USB drive is mounted on H:\ on any other computers you use. Maybe it would be smarter to use a relative path instead.</li>
</ul>

<p><strong>Regarding portable Litecoin etc.</strong>
Any program is portable, as long as all of its dependencies can be met in a portable environment. Therefore, if you copy the entire <code>C:\Program Files\Litecoin</code> folder, you should, <em>in theory</em>, have a portable program, provided you copy your data directory also, or don't mind re-downloading the blockchain and don't mind losing all your Litecoins.</p>

CC BY-SA 3.0
2014-01-08T03:44:24.463Z
2014-01-08T03:44:24.463Z
Caleb Xu
<p>I would recommend you look at electrum. It offers the ability to have a portable wallet like your looking for.  It's a thin client modrl Bitcoin client utilising a random seed phrase which can be used you restore your wallet anywhere with or without ypur wallet file on a usb.  Electrum also allows you to have the same wallet open and in use multiple locations something which the standard client does not support. </p>

CC BY-SA 3.0
2014-03-09T09:23:54.400Z
2014-03-09T09:23:54.400Z
hafnero
<p>I'm trying to run a BitCoin wallet on a USB Drive. I've got that working, but I'm trying to make the block chain get downloaded and stored inside of the USB drive as well. This is the only thing I've been able to come up with and I've had no success.</p>

<pre><code>H:\Bitcoin\bitcoin-qt.exe" -datadir=H:\Bitcoin\appdata
</code></pre>

<p>I get the error "Filename is incorrect". I know there is a portable BitCoin program, but I'm also wanting this to work for other coins such as LiteCoin, and I know there aren't portable versions for those.</p>

<wallet><portable>
Running BitCoin Wallet On USB
user11923
# Running BitCoin Wallet On USB

(Asked by: username_0 on 2014-01-08)

I'm trying to run a BitCoin wallet on a USB Drive. I've got that working, but I'm trying to make the block chain get downloaded and stored inside of the USB drive as well. This is the only thing I've been able to come up with and I've had no success.

```
H:\Bitcoin\bitcoin-qt.exe" -datadir=H:\Bitcoin\appdata

```

I get the error "Filename is incorrect". I know there is a portable BitCoin program, but I'm also wanting this to work for other coins such as LiteCoin, and I know there aren't portable versions for those.

**Tags:** wallet, portable


---

## 2 answers

### Answer by username_1 on 2014-01-08. Score: 1

Perhaps it's just an issue with the code block, but I only see one double quote. I assume that the other is before the entire code block, and is used to pass the program name.

The only other possible issues I can think of are to

* make sure the directory specified in the datadir argument exists and is writable
* make sure that the USB drive is mounted on H:\ on any other computers you use. Maybe it would be smarter to use a relative path instead.

**Regarding portable Litecoin etc.**
Any program is portable, as long as all of its dependencies can be met in a portable environment. Therefore, if you copy the entire `C:\Program Files\Litecoin` folder, you should, *in theory*, have a portable program, provided you copy your data directory also, or don't mind re-downloading the blockchain and don't mind losing all your Litecoins.


---

### Answer by username_2 on 2014-03-09. Score: 0

I would recommend you look at electrum. It offers the ability to have a portable wallet like your looking for. It's a thin client modrl Bitcoin client utilising a random seed phrase which can be used you restore your wallet anywhere with or without ypur wallet file on a usb. Electrum also allows you to have the same wallet open and in use multiple locations something which the standard client does not support.


---

