[GNC] Open two files at once

Stan Brown the_stan_brown at fastmail.fm
Sat Apr 25 10:57:57 EDT 2020


On 2020-04-24 13:58, Adrien Monteleone wrote:
> I’ve added a question with answer for MacOS to the FAQ section ‘Using GnuCash’. (4.24)
> 
> If someone else has info on the Linux and/or Windows procedures, please add them.

For Windows, you want to have the two files open in separate instances
of GnuCash. There are at least two methods that I know of. Here they are
for GC 2.x, which I'm using; you may wish to alter them for 3.x if GC
installs to a different location.



Method A (GUI only, recommended for occasional use):

1. Open the first instance in the usual way, and open the first file.

2. Press and hold the shift key, click the GC icon or tab on the
taskbar, and release the Shift key.

3. A second instance of GC will start up. It will try to open the same
file that is already open, but will display the "could not obtain the
lock" message. Select
"Open Red-Only".
4. When the GC interface appears, select File » Open in the menu and
open the second file.

Method B (Windows shortcuts, recommended for frequent use):
1. Right-click in an empty spot in your Start Menu or on your desktop
and select New » Shortcut.
2. In the first dialog, type the full path of the GC program and, after
a space, the full path of the first GC data file. Example:
"C:\Program Files (x86)\gnucash\bin\gnucash.exe" D:\$\GnuCash\File1.gnucash
(Double quotes are required when the path contains spaces.)
3. In the second dialog, assign a short display name, such as File1.
4. Repeat steps 1-3 for File2.
You can now double-click either shortcut, or both of them, to work with
one or both files at a time. With a file name in the command line of the
shortcut, that instance of GC opens that file rather than the most
recent file.


-- 

Regards,

Stan Brown

Tehachapi, CA, USA

https://BrownMath.com

http://OakRoadSystems.com


More information about the gnucash-user mailing list