ThumbsPlus

All forums => ThumbsPlus v10 Questions => Topic started by: tommyb709 on 2018-03-09 15:21:25

Title: starting a specific database and folder from shortcut
Post by: tommyb709 on 2018-03-09 15:21:25
mostly i start thumbs10 to the default database.  i would like to create a shortcut that opens another database, and switches drives.  I can create one that starts the correct database, but cannot figure the syntax to also change drives and specify the starting folder.
thanks in advance,
tommyb
Title: starting a specific database and folder from shortcut
Post by: Daan van Rooijen on 2018-03-09 16:24:55
> I can create one that starts the correct database, but cannot figure the syntax to also change drives and specify the starting folder.

Correct. The starting folder is defined in your thumbs10.ini, as follows:

[Startup]
StartupFolder=D:\MYPICS\

There's currently no way to specify a different thumbs10.ini file on the commandline, so you'd have to start ThumbsPlus from a batchfile that manipulates the ini file and then runs the program.

Through this batchfile you could either maintain 2 separate ini files and have the batchfile copy the one in place that you want to use (and copy it back afterwards to keep any configuration changes made during this session), or use a small utility that edits the relevant line in the ini file before the program is launched. For more information see these previous discussions:

http://forums.cerious.com/forum/index.php?id=113
http://forums.cerious.com/forum/index.php?id=4385
http://forums.cerious.com/forum/index.php?id=5432
Title: starting a specific database and folder from shortcut
Post by: tommyb709 on 2018-03-10 09:29:56
thanks for the info.  the help file says that the folder can be specified from the command line, but further investigation shows that was cut and pasted from version 8 help.  oh, well.  only two extra clicks.  just a minor annoyance.