I'm trying to follow this tutorial :


I am not exactly sure if I am following the steps correct but I get an error when I write the command in the terminal CustomGenesis.json --datadir

The error is:

This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel.

Does anyone can help me solve this error and explain me what it is?

1 Answer 1


this is one single command, not 3

$ geth --datadir /your/datadir --identity yourIdentity init /your/genesis/file

also init is a command and not an option (therefore init instead of --init)

please have a look here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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