SnippetCenter Features > Run SnippetCenter >

Start Parameters

Print this Topic Previous pageReturn to chapter overviewNext page

 

With start parameters it is possible to execute certain actions or features of SnippetCenter directly at program start, without the need of any user interaction. This way it is for example possible to execute commands through links from the desktop which would normally need the use of the SnippetCenter Menu.

 

These parameters are available:

 

/DB:"<path>"

 

Specify the absolute path to an alternative SnippetCenter database folder to work with this database. Usually, SnippetCenter is using the database from the Data subfolder of the installation directory (i.e. C:\Program Files\SnippetCenter\Data).

 

/OptimizeDB

 

Runs an optimization of the SnippetCenter database. There is usually no need to run an optimization. But if you experience performance problems with a large database, it may help to run the optimization from time to time.

 

Important: Always backup your SnippetCenter database, before you run the optimization.

 

/RepairDB [/full]

 

Runs a repair of the SnippetCenter database. There is usually no need to run a repair. If you experience problems with SnippetCenter after i.e. a system crash, abnormal shutdown or manual power off of your computer without having shut down the computer properly before, run a repair. Use the optional parameter /full if the problem resists.

 

Important: Always backup your SnippetCenter database, before you run the repair.

 

/Minimized

 

After starting SnippetCenter the window is minimized.

 

/ReadOnly

 

Starts SnippetCenter in a write protected mode so that no changes on the data are possible.

 

/NoSplash

 

Starts SnippetCenter without the splash-screen.

 

How to use start parameters:

 

How to run SnippetCenter with Start Parameters
How to create a desktop shortcut to SnippetCenter with Start Parameters

 

Note

 

In case that SnippetCenter is not running yet (has not been started), start parameters will be executed immediately.
In case that SnippetCenter is already running (has been started), it is possible to restart SnippetCenter with start parameters again. The parameters will be transfered to the running program to be executed.

 

Syntax:

SnipCent.exe [/DB:<path>] [/OptimizeDB] [/RepairDB [/full]] [/Minimize] [/ReadOnly]

 

 

 


Page url: http://www.GRAHL-software.de/snippetcenter/Pro/en/help/index.html?tips_startparams.htm