Možnosti spuštění

Z Solvertech
Verze z 3. 11. 2023, 13:36, kterou vytvořil Solvertech (diskuse | příspěvky) (Tato verze je označená pro překlad)
Skočit na navigaci Skočit na vyhledávání
Jiné jazyky:

Tasha.exe can be launched with the following parameters.


Parameter Table
Parameter Purpose Example
DoNotConnectToDatabase If this flag is used Tasha will not try to connect to a database at all, it will use files instead. --DoNotConnectToDatabase
SettingsFile See Portable settings article. Supply a file similar to Tasha.config, which will be used for settings storage and retrieval. --SettingsFile "..\UserConfigs\suus.config"
CustomIcon Custom Tasha Icon in Taskbar, Used when you need to run multiple instances of Tasha for somewhat different purposes (different usage type per user role (warehouse, dispatcher, different depot, different planning scenarios) --CustomIcon ..\Icons\Kompas SolverTech 256x256.ico"
ScenarioIdentifier When set will try to open scenario with matching Identifier. You can use LastCreated and LastOpened to open the last created or last opened scenarios respectively. When set with an existing file name with the .scenario extension, it import that scenario and open it. --ScenarioIdentifier "C:\Scenarios\Expedo.scenario" ; --ScenarioIdentifier LastOpened ; --ScenarioIdentifier LastCreated
SaveAsScenarioFile Saving will save the currently opened scenario as this file. --SaveAsScenarioFile "C:\Scenarios\ExpedoUpravene.scenario"


Production usage (the following would be placed in a Tasha.bat file)

@echo off
start..\install\tasha.exe --SettingsFile "..\UserConfigs\suus.config" --CustomIcon ..\Icons\Kompas SolverTech 256x256.ico"
exit