Bitcoin Institute

Portable Bitcoin Client

1 messages BitcoinTalk Tilka August 16, 2010 — August 16, 2010
Tilka August 16, 2010 14:17 UTC Link to this message

You can specify the data directory using scripts (AFAIK you can’t use a shortcut on Windows because it requires an absolute path to the .exe).

Shell script for Linux (make executable with “chmod a+x scriptname”):

#!/bin/sh
bitcoin -datadir=./data

Batch script for Windows (save as *.bat or *.cmd):

bitcoin -datadir=.\data

If you know how to do it, you can also apply gavinandresen’s port/rpcport patch (http://bitcointalk.org/index.php?topic=589.0) or wait for it to be included in the official client (may take a while).