How to open database from command line?
- 
				Peter7885
 - Posts: 21
 - Joined: Sat Jan 16, 2016 4:08 pm
 - Contact:
 
How to open database from command line?
How to open database from command line? Is that possible?
			
									
									
						- usbpoweredfridge
 - Posts: 410
 - Joined: Fri Jan 17, 2014 11:08 pm
 - Contact:
 
Re: How to open database from command line?
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
			
									
									
						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: 21
 - Joined: Sat Jan 16, 2016 4:08 pm
 - Contact:
 
- CintaNotes Developer
 - Site Admin
 - Posts: 5011
 - Joined: Fri Dec 12, 2008 4:45 pm
 - Contact:
 
Re: How to open database from command line?
Excellent answer - I would't do it better 
 Thanks, Chris!
			
									
									Alex
						Return to “CintaNotes Personal Notes Manager”
