6

In Windows, it's comfortable to double-click the link/icon to a program (as opposed to using the command line). The problem is that the default links/icons for the GUI or daemon (monerod) don't let the GUI or daemon use a non-default location of the blockchain.

I save the blockchain on a different, bigger drive. When I open the GUI or daemon with double-clicking the link/icon, it automatically starts to re-download the blockchain to the standard location. Can this conundrum be solved?

5

On Windows, this can actually be done fairly simply. These options are slightly technical, but not terribly difficult, and only have to be done once. There are a couple quick ways.

Option 1 - Make a copy of the shortcut link used for launching the GUI (or monerod). Then right-click the copied shortcut to edit the shortcut's properties; and then add at the end of the Target: line/box --data-dir \path\where\bitmonero\folder\is. Click OK to save. Double-clicking the link will launch the program with the --data-dir flag, which will be pointing to where you're keeping your copy of the blockchain.

Option 2 is to create and open a new text (*.txt) document, which you can do just by opening up Notepad. Enter C:\path\to\monerod.exe --data-dir \path\to\bitmonero\folder. Save the file with whatever name you like. And then change the file extension from txt to bat. This file will now behave just like the shortcut link from Option 1.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.