Using Multiple Catalogs from Command Line?

Post Reply
margoba
Posts: 5
Joined: 28 Dec 13 21:25

Using Multiple Catalogs from Command Line?

Post by margoba »

I am test driving Photo Supreme, and I would like to use two different catalogs. I think I understand how to do this.

I would also like to have two Windows shortcuts on my desktop, one for each different catalog. Is there any way to specify the catalog location in the startup command?

Thanks,
-barry
Hert
Posts: 7911
Joined: 13 Sep 03 6:24

Re: Using Multiple Catalogs from Command Line?

Post by Hert »

Hi barry, a warm welcome to the forum.

PhotoSupreme allows you to enter the login details directly on the command line to bypass the login dialog.

-D <<database name>>
Specify the path and name of the SQLite database.

-P <<password>>
Specify the login password for the IDimager-username


Hope that helps
Hert
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
margoba
Posts: 5
Joined: 28 Dec 13 21:25

Re: Using Multiple Catalogs from Command Line?

Post by margoba »

Thanks. I must admit that I am a bit confused by your mention of "Professional Desktop Edition". When I look at your web site, I see two possible versions for Windows: "Windows" and "Windows for SQLServer". Are either of these (or both) "Professional"?

It just occurred to me that I can just try your suggestion on my evaluation copy and see if it works. I'll do that today.

Thanks again,
-barry
Hert
Posts: 7911
Joined: 13 Sep 03 6:24

Re: Using Multiple Catalogs from Command Line?

Post by Hert »

Sorry, I copied the command line switches from documentation from another product (as they use the same command line switches), I've changed my previous reply.
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
margoba
Posts: 5
Joined: 28 Dec 13 21:25

Re: Using Multiple Catalogs from Command Line?

Post by margoba »

Perfect. I'll set it up tonight.

Thanks,
-barry
margoba
Posts: 5
Joined: 28 Dec 13 21:25

Re: Using Multiple Catalogs from Command Line?

Post by margoba »

It's been a long time between getting the answer and trying it out, but I just tried the -D parameter, and it doesn't seem to work. In my Windows shortcut, in the target field, I have "<program path and name>" "-D <catalog path and name>".

Photo Supreme just seems to ignore this.
-barry
DirkS
moderator
Posts: 284
Joined: 25 May 08 13:28
Location: Essex, UK

Re: Using Multiple Catalogs from Command Line?

Post by DirkS »

margoba wrote:It's been a long time between getting the answer and trying it out, but I just tried the -D parameter, and it doesn't seem to work. In my Windows shortcut, in the target field, I have "<program path and name>" "-D <catalog path and name>".
Barry,

It works for me. I think you have the quotes in the wrong place. You only have to put paths with spaces insde quotes. '-D' should be unquoted.
These are 2 command lines that I use:

Code: Select all

"C:\Program Files\IDimager Products\Photo Supreme x64\IDimagerSU.exe" -D "%localappdata%\IDimager Systems, Inc\catalog\idimager.cat.db"

"C:\Program Files\IDimager Products\Photo Supreme x64\IDimagerSU.exe" -a L:\IDIv6test\data -D L:\IDIv6test\data\Catalog\idimager.cat.db
As you can see the second one does not use quotes as there are no spaces in the path.

HTH
Dirk
Problems searching the forum? Try Google Site Search by adding 'site:forum.idimager.com' to a standard Google search.
margoba
Posts: 5
Joined: 28 Dec 13 21:25

Re: Using Multiple Catalogs from Command Line?

Post by margoba »

You fixed it for me. When I carefully examined the catalog path to see whether quotes were needed, I noticed that it pointed to the directory DAM\PhotoSupremeTest when it should have pointed to DAM\PhotoSupreme Test. I fixed that, added the quotes, and all was well.

Thanks,
-barry
Post Reply