On Mon, Mar 16, 2009 at 07:31:05AM -0700, dwebman wrote: > > HI, > I'm running ledger in DOS under Windows XP. I had previously set the > env var LEDGER to the path to my original set of books. It worked > fine and I did not have to specify the path using the -f switch when > running ledger queries. I have set up another set of books and > edited the LEDGER env var, rebooted, but the ledger command opens the > original set. I then renamed the env var to LEDGER_FILE t set the > path to the 2nd set of books, rebooted, and even ran the DOS command > "echo %ledger_file% to verify the new env var, but again when running > ledger without the -f switch I get the original books data. > > Any idea where ledger is picking up this original path?
Try running Ledger the the '--no-cache' option and see if this fixes it. If so, then you're picking up the cached data. It's just a file with a cache, but I don't know where it would be on MS-DOS (on Unix by default it's .ledger-cache in the home directory.) --Omari -- Not labeled for individual retail sale.
