diff --git a/doc/common.m4 b/doc/common.m4 index df5d3c799..fca82c133 100644 --- a/doc/common.m4 +++ b/doc/common.m4 @@ -245,12 +245,14 @@ In `~/.MacOSX/environment.plist`, add an entry like: ``` For this to take effect you might need to `killall Dock`, or reboot. -On Windows computers, the default value is probably `C:\Users\MyUserName\.hledger.journal`. -You can change this by running a command like this in a powershell window: +On Windows computers, the default value is probably `C:\Users\YOURNAME\.hledger.journal`. +You can change this by running a command like this in a powershell window +(let us know if you need to be an Administrator, and if this persists across a reboot): ``` > setx LEDGER_FILE "C:\Users\MyUserName\finance\2021.journal" ``` -(Let us know if you need to be an Administrator, and if this persists across a reboot.) + +Or, change it in settings: see https://www.java.com/en/download/help/path.html. }} )m4_dnl m4_dnl diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index 063b24a42..61baf7776 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -357,7 +357,7 @@ This is overriden by the --color/--colour option. hledger reads transactions from one or more data files. The default data file is `$HOME/.hledger.journal` -(or on Windows, something like `C:/Users/USER/.hledger.journal`). +(or on Windows, something like `C:\Users\YOURNAME\.hledger.journal`). You can override this with the `$LEDGER_FILE` environment variable: