diff --git a/node/defaults.go b/node/defaults.go index c1376dba0f..8e0655848b 100644 --- a/node/defaults.go +++ b/node/defaults.go @@ -59,7 +59,7 @@ func DefaultDataDir() string { if runtime.GOOS == "darwin" { return filepath.Join(home, "Library", "Ethereum") } else if runtime.GOOS == "windows" { - return filepath.Join(home, "AppData", "Roaming", "Ethereum") + return filepath.Join(os.Getenv("APPDATA"), "Ethereum") } else { return filepath.Join(home, ".ethereum") }