Cicode Programming Reference > Cicode Function Categories > Miscellaneous Functions > ProjectRestartSet

ProjectRestartSet

Sets the path to the project to be run the next time Citect SCADA is restarted.

Syntax

ProjectRestartSet(sPath)

sPath:

The path to the project. You need to use the full path, for example to specify the path to the project "Demo", use: "C:\CITECT\USER\DEMO".

Return Value

0 (zero) if successful, otherwise an error code is returned.

Related Functions

Shutdown, ShutdownMode, ProjectSet, ProjectRestartGet

See Also

Miscellaneous Functions

Published June 2018