No_2 (OP)
|
|
July 10, 2014, 09:25:35 AM |
|
This question has been asked before but I cannot find a solution to my specific problem.
I have created shortcuts for both bitcoin-qt and litecoin-qt and pointed them at their respective data folders which I have copied from their original locations. However they wallet software run from the shortcuts is using the original locations for the blockchain data.
Original locations: C:\Users\[username]\AppData\Roaming\Bitcoin\ C:\Users\[username]\AppData\Roaming\Litecoin\
Copied them to: G:\Bitcoin G:\Litecoin
Under Properties>Target for each shortcut I have then specified: "C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe" –datadir=G:\Bitcoin "C:\Program Files (x86)\Litecoin\litecoin-qt.exe" –datadir=G:\Litecoin
However when the shortcuts are run the wallets launch and the original directory locations are still being used. I know this because I cannot move or edit the original directories when the application is running. If I exit, move the originals directories and restart the shortcuts the wallets try to re-download the entire blockchain.
I am using windows 7.
|
|
|
|
|
|
|
|
"There should not be any signed int. If you've found a signed int
somewhere, please tell me (within the next 25 years please) and I'll
change it to unsigned int." -- Satoshi
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
vm1990
Legendary
Offline
Activity: 1540
Merit: 1002
|
|
July 10, 2014, 09:47:27 AM |
|
This may sound stupid but remove all the " and it should work
C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe –datadir=G:\Bitcoin C:\Program Files (x86)\Litecoin\litecoin-qt.exe –datadir=G:\Litecoin
|
|
|
|
Injust
Legendary
Offline
Activity: 1008
Merit: 1000
|
|
July 10, 2014, 05:51:54 PM |
|
This may sound stupid but remove all the " and it should work
C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe –datadir=G:\Bitcoin C:\Program Files (x86)\Litecoin\litecoin-qt.exe –datadir=G:\Litecoin
If you do that, then the program won't be found, because there are spaces in the name of the folder "Program Files (x86)".
|
|
|
|
No_2 (OP)
|
|
July 10, 2014, 05:54:07 PM |
|
This may sound stupid but remove all the " and it should work
C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe –datadir=G:\Bitcoin C:\Program Files (x86)\Litecoin\litecoin-qt.exe –datadir=G:\Litecoin
Tried that and windows 7 reports: The name 'C:\Program' specified in the target box is not valid. Make sure the path and file name a correct.
So looks like it can't handle the spaces without the quotes. I also expanded the double quotes around the entire string and got a different error. For some reason it does not raise any errors on: C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe \datadir=G:\Bitcoin C:\Program Files (x86)\Litecoin\litecoin-qt.exe \datadir=G:\Litecoin But still uses the same directories on C drive when loaded from the shortcut.
|
|
|
|
cp1
|
|
July 10, 2014, 05:56:40 PM |
|
That's odd, what does your bitcoin.conf look like?
|
|
|
|
vm1990
Legendary
Offline
Activity: 1540
Merit: 1002
|
|
July 10, 2014, 06:02:34 PM |
|
Are you trying to edit the actual file in the bitcoin folder as that won't work you need to edit a short cut not the direct bitcoin.exe
|
|
|
|
grue
Legendary
Offline
Activity: 2058
Merit: 1431
|
|
July 10, 2014, 08:41:18 PM |
|
mklink /D %appdata%\bitcoin G:\bitcoin then run bitcoin as normal (without datadir argument)
|
|
|
|
No_2 (OP)
|
|
July 11, 2014, 08:57:36 AM Last edit: July 11, 2014, 09:47:54 AM by No_2 |
|
That's odd, what does your bitcoin.conf look like?
I've searched but cannot find a bitcoin.conf associated with that bitcoin-qt.exe from what I can tell. Perhaps I'm missing something? Are you trying to edit the actual file in the bitcoin folder as that won't work you need to edit a short cut not the direct bitcoin.exe
Yes: I'm editing the shortcut, not the .exe. The shortcut is in the same directory as the .exe. mklink /D %appdata%\bitcoin G:\bitcoin then run bitcoin as normal (without datadir argument) I'd prefer to do this without creating symbolic links if possible. That's odd, what does your bitcoin.conf look like?
|
|
|
|
cp1
|
|
July 11, 2014, 05:10:06 PM |
|
Type the command into the command line and see if it gives an error, and/or check your log file. You've only got 1 dash, right?
|
|
|
|
bitpop
Legendary
Offline
Activity: 2912
Merit: 1060
|
|
August 02, 2014, 09:26:41 AM |
|
That dash you're using is longer than usual. It looks like you copied another character from the web. Replace it.
You aren't using the proper dash – vs -
Bitpop strikes again. Boom.
|
|
|
|
Newar
Legendary
Offline
Activity: 1358
Merit: 1001
https://gliph.me/hUF
|
|
August 02, 2014, 11:19:09 AM Last edit: August 02, 2014, 02:59:55 PM by Newar |
|
That's odd, what does your bitcoin.conf look like?
I've searched but cannot find a bitcoin.conf associated with that bitcoin-qt.exe from what I can tell. Perhaps I'm missing something? [..] You have to create it yourself. You then can put datadir= in there.https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File
|
|
|
|
|
Newar
Legendary
Offline
Activity: 1358
Merit: 1001
https://gliph.me/hUF
|
|
August 02, 2014, 03:00:51 PM |
|
Nice catch.
|
|
|
|
BookLover
|
|
August 02, 2014, 05:04:12 PM |
|
Thanks! The only reason I know is because I wanted to do the same thing myself, but found out it doesn't work.
|
|
|
|
|