Author Topic: starting a specific database and folder from shortcut  (Read 3828 times)

0 Members and 1 Guest are viewing this topic.

tommyb709

  • Member
  • **
  • Posts: 5
    • View Profile
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

Daan van Rooijen

  • Administrator
  • Sr. Member
  • *****
  • Posts: 933
    • View Profile
starting a specific database and folder from shortcut
« Reply #1 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
I'm volunteering as a moderator - I do not work for Cerious Software, Inc.

tommyb709

  • Member
  • **
  • Posts: 5
    • View Profile
starting a specific database and folder from shortcut
« Reply #2 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.