How to open database from command line?

Peter7885
Posts: 20
Joined: Sat Jan 16, 2016 4:08 pm
Contact:

How to open database from command line?

Postby Peter7885 » Fri May 13, 2016 1:36 pm

How to open database from command line? Is that possible?
User avatar
usbpoweredfridge
Posts: 407
Joined: Fri Jan 17, 2014 11:08 pm
Contact:

Re: How to open database from command line?

Postby usbpoweredfridge » Sat May 14, 2016 5:12 am

Hi,

Yes, it is possible - just pass the database name+location at the end of the command line. For example, I have CN installed to c:\Test. In that folder, is a DB named Notes.db, so my command line to open that DB is:
C:\Test\CintaNotes.exe Notes.db

If the DB is in another folder, then you need to include the full path to the DB as well - don't forget quote marks if the path has spaces in it.

Chris
Peter7885
Posts: 20
Joined: Sat Jan 16, 2016 4:08 pm
Contact:

Re: How to open database from command line?

Postby Peter7885 » Sat May 14, 2016 7:13 am

Thanks!
User avatar
CintaNotes Developer
Site Admin
Posts: 4654
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: How to open database from command line?

Postby CintaNotes Developer » Wed May 18, 2016 5:28 pm

Excellent answer - I would't do it better :) Thanks, Chris!
Alex

Return to “CintaNotes Personal Notes Manager”