Command line options to specify startup options. Command line parameters for specifying launch parameters Command line 1s 8.3 example

In this article I will talk about possible parameters and launch keys for 1C 8.3, 8.2 and 8.1. For the convenience of users, you can use some of the presented features. I will not go into depth and describe all possible parameters, but I will describe those points that, in my opinion, ordinary users of the program may need.

On the 1C 8.1 platform, there was only one option for launching the 1C application - a thick client. Let me decipher this concept a little. 1C is a client-server software and client applications are used to run it.

The concept of a thick client did not exist before the concept of a thin client appeared, and it means greater demands on the resources of the end user's computer.

With the release of the 1C 8.2 platform, it became possible to use a thin client and a web client. All these client applications have their advantages and limitations; many articles have already been written about this, and I will not go deeper into this. I will note only the main points.

  • Configurator only works in thick client mode.
  • Fat client the most demanding of computer resources.
  • Thin client is not demanding on the resources of the user’s computer in client-server mode, because all the load goes to the server.
  • Web client Requires only a browser and an Internet connection. You can work in the program from anywhere in the world. Comfortable work depends only on the speed of your Internet connection. The entire load falls on the web server.

The most common launch option so far, in my opinion, is a thick client with a file information base. Although the future undoubtedly belongs to the web client.

I’ll also note that by default in the database launch settings it’s “Select automatically” and you don’t need to think about which client and which database you need to launch.

1C launch options from the command line with automatic user selection

In my work, I often encountered errors in the operation of the 1C Accounting program, for example, some document logs were not displayed if not a single user was created in the 1C database.

To fix it, you had to create and log in, clicking OK each time in the user selection window. And this is, in principle, correct: if there are several users working in the database, each should log in under their own account.

But in some cases, when only one user always works with the program, for example in basic versions, it seems inappropriate to confirm his choice each time by pressing the OK button if the user does not have a login password. After all, it’s clear that he’s alone.

If you don’t want to select a user every time you start 1C, there are several ways to do this.

If you always work in the 1C 8 program from the same computer, under the same Windows operating system user, then you can do the following:

We launch the information base in configurator mode. Select Administration => Users. Find your user in the list and click edit:

Uncheck the “1C:Enterprise Authentication” checkbox and check the “Operating System Authentication” checkbox. Click select, a window for selecting an operating system user appears. In my case, the “Domains” list shows the name of my computer, and the “Users” list shows the existing users of my Windows OS.

Select your user and save all changes:

If you have only one user with full rights, and you try to give him OS authentication, the program will display a warning. In this case, you should create another user with full rights. I think this was done for security reasons, so that if the OS malfunctions, they can still log into 1C with full rights.

Using additional parameters for launching the 1C information base. No matter how scary it may sound, there is actually nothing complicated about it. There is no need to go into the configurator for this, except to look at the possible parameters for launching in the help. You need to specify the Username and Password as parameters.

From the 1C help:

  • /N<имя>- Username. Must be specified in the same way as in the list of users created in the Configurator.
  • /P<пароль>- password of the user whose name is specified in the /N parameter. If the user does not have a password, this parameter can be omitted.

We know our username and password, but where can we register them? Select the desired database in the list and click edit:

Scroll Next to the last page of settings and see the line we need “Advanced launch options”. Here we write /N “your username” /P “your password”. If there is no password, then this parameter and its value are not written. Save with the “Done” button. If you make a mistake with the password in the parameter, the user selection window will also pop up. Make sure everything is entered correctly.

If you want to change your username and password, you will need to make corrections to the parameters.

Launching a specific 1C database without selecting from a list of databases

For example, you don’t want to select a database from the list every time you start 1C Enterprise, but create a separate shortcut on the desktop for each database. We'll need one more launch parameter. From the 1C help:

  • /F<путь>- path to the infobase, if it is stored in a file (the file name does not need to be specified).

Let's look at the example of a 1C file database. Do the same for all other databases from the list if necessary.

And those who have a database on the server should use a different parameter to indicate the path:

  • /S<адрес>- the address of the information base stored on the 1C:Enterprise 8 server is as follows:<Имя компьютера, работающего сервером приложений>\ <Ссылочное имя информационной базы, известное в рамках сервера 1С:Предприятия 8>

First, let's create a shortcut for the executable file 1cestart.exe. The easiest way is to copy the 1C Enterprise shortcut you already have and rename it, for example, to UT 10.3, so that it is clear which database it will launch:

Now go to the properties of the shortcut and in the object field, after the quotes separated by a space we write the parameters:

First we write the ENTERPRISE parameter, it means that at startup the Enterprise startup mode will be selected. If it is necessary to run the configurator, then the DESIGNER parameter is written.

  • “C:\Program Files (x86)\1cv82\common\1cestart.exe” enterprise /F “D:\1C\Demo 1C database\Trade management (demo) for the site.”

We save and now when you start from this shortcut, it will launch exactly the database whose path you specified.

You can add the user authentication parameters described above to this shortcut:

  • “C:\Program Files (x86)\1cv82\common\1cestart.exe” enterprise /F “D:\1C\Demo 1C database\Trade management (demo) for the site” /N “Fedorov (administrator)” /P “ 131".

Now, when you start from the shortcut, the database you need will be launched under the specified user and password. If there is no password, this option is removed.

Keys and parameters for launching the 1C database when starting Windows

Let's say you want that when you turn on your computer and start Windows, the 1C database you need will automatically start under your user with a password. To do this, you need to create a shortcut with launch parameters as described above and put it in the Startup folder. Go to Start => All Programs, see the Startup folder, click on it with the right button and click Open. Copy the created shortcut into the Startup folder that opens and the next time you start Windows 1C it will start with the parameters specified in it.

Selecting different versions of the platform for launching 1C databases

For example, you simultaneously use platforms 8.1 and 8.2 to run different databases and you want to run them from one list. For each database, it is possible to specify which version of the platform will run this database. People often encounter a problem when someone has specified a certain version of the platform in the database launch settings and after updating the platform, the launch still occurs with the old version. To change the launch platform version, select the base from the list and click “Change”. In the last window, specify the required version of the platform, just keep in mind that it must be installed on your computer.

With such an entry, the latest version of the 8.1 platforms installed on your computer for the selected database will be launched.

With such an entry, platform 8.1.15.14 will be selected to run this database.

By default, when adding a database to the list, the value is set to 8.2 or 8.3. I think this article may be useful when switching to version 8.3, when everyone in the database settings will have the version to run 8.2 and no one will see the result of the update and switch to 8.3, because the databases will still be launched on the 8.2 platform.

Often, when working with 1C, it is necessary to carry out some similar operations that are repeated systematically over time and simply distract from the main work. This could be various downloads and unloads, generation of some data for external analysis, etc. There is a fairly simple way to automate these operations and actually forget about them, periodically receiving log files by email for control.

It’s great if you already have these operations written by external processors, no problem; if this is not the case, create and move everything there. Next, to check its functionality, I recommend testing all this in manual mode and then, if everything works as it should, rewrite the main processing code so that when external processing is loaded, it starts automatically, without clicking on the execute button and the like. The simplest thing is to move the code into a procedure OnOpen().

The next step is to automatically close the program after executing the external processing that we created and it is already working for us. To do this, in the procedure OnOpen() At the very end we insert the following command: ShutdownSystem(False); in this case the parameter Inquire Opportunity we pass the value “False” in order to cut off various options for additional system questions when closing, thereby initiating the unconditional shutdown of 1C after this external processing has been completed. To be sure, we run the program again and perform the processing and make sure that it has worked and the program has closed itself.

“C:\Program Files (x86)\1cv8\8.3.5.xxxx\bin\1cv8.exe” ENTERPRISE /DisableStartupMessages /FC:\path to database /N”UserName” /P”User Password” /Execute from:\path to processing\self-processing.epf

Let's decipher:

1. “C:\Program Files (x86)\1cv8\8.3.5.xxxx\bin\1cv8.exe” ENTERPRISE - the 1C engine itself in this case is 8.3, check the path yourself, it differs depending on the version and engine including don’t forget to edit it after updating the last one.

2. /DisableStartupMessages - disable all messages when the system starts.

4. /N"UserName" /P"UserPassword" - respectively /N username, also immediately without a space and /P password.

5. /Execute from:\path to processing\self-processing.epf - /Execute starts our processing, the path and name should follow this key.

Now that’s it, all that remains is to add our cmd file to the task scheduler: avtozapusk1c.cmd, indicating the schedule for its launch.

To monitor the work of external processing, I recommend creating a separate user for it; it is also optimal that the processing itself creates a log file, which is also periodically sent to your email.

These simple tools help automate everyday routine operations, good luck to you!

When running the 1CV8.EXE file, the following parameters can be specified on the command line:
Mode selection command line options:
CONFIG – launching the 1C:Enterprise 8.x system in the “Configurator” mode; ENTERPRISE – launching the 1C:Enterprise 8.x system in the “1C:Enterprise” mode;
CREATEINFOBASE ] – creation of an information base (
a line specifying the infobase parameters, each of which is a fragment of the form<Имя параметра=><Значение>, where Parameter Name is the name of the parameter, and Value is its value.
Fragments are separated from each other by the symbols ‘;’.
If a value contains whitespace, it must be enclosed in double quotes (“”).

The following parameter is defined for the file version:

File - information base directory;
Locale - language (country) that will be used to create the information base. Valid values ​​are the same as for the parameter<Форматная строка>method Format. The Locale parameter is not required. If not specified, the regional settings of the current infobase will be used.

The following parameters are defined for the client-server option:
Srvr - 1C:Enterprise server name;
Ref - name of the infobase on the server;
SQLSrvr - SQL server name;
SQLDB - name of the SQL database;
SQLUID - SQL username;
SQLPwd - SQL user password. If a password for the SQL user is not specified, then this parameter can be omitted.
SQLYOffs – Date offset used to store dates in SQL Server. Can take values ​​0 or 2000. This parameter is not required. If not specified, the value 0 is accepted.
Locale – language (country), (similar to the file version).

For all options the following parameters are defined:
Usr - username;
Pwd - password
/AddInList – parameter indicating under what name to add the database to the list; if not specified, the database will not be added to the list. If a name is not specified, the default is used, similar to the interactive creation of an infobase.

Simultaneous use of keys is not allowed.

Command line options to specify startup options:
/@<имя файла>– command line parameters are written in the specified file
/F<Путь>– path to the infobase, if it is stored in a file (the file name does not need to be specified)
/S<Адрес>– the address of the information base stored on the 1C:Enterprise 8.x server is as follows:
<Имя компьютера, работающего сервером приложений>\ <Ссылочное имя информационной базы, известное в рамках сервера 1С:Предприятия 8.x>

/N<Имя>-Username. Must be specified in the same way as in the list of users created in the Configurator
/P<Пароль>-password of the user whose name is specified in the /N parameter. If the user does not have a password, this parameter can be omitted
/WA - prohibits the use of Windows authentication when starting an Enterprise or Configurator
/WA+ setting the mandatory use of Windows authentication when starting 1C:Enterprise or Configurator. If the /WA switch is not specified, the /WA+ command line option is assumed to be used.
/AU - prohibits the display of a question about updating the current version of 1C:Enterprise from an administrative installation
/AU+ setting to display a question about updating the current version of 1C:Enterprise from an administrative installation. If the /AU switch is not specified, the /AU+ command line option is assumed to be used.
/Out<Имя файла>[-NoT_runcate] – setting a file to display service messages. If the –NoT_runcate switch is specified (separated by a space), the file is not cleared
/L<Каталог>– indicates the directory of localized interface resources (for example, “RU”)
/DisableStartupMessages -Suppresses startup messages: “The database configuration does not match the saved configuration. Continue?"; “Your computer's capabilities are not sufficient to edit the configuration help. To edit the help, you must install Microsoft Internet Explorer version 6.0 or higher.”; “Your computer’s capabilities are not sufficient to edit HTML documents, including help topics. To edit HTML documents, you must install Microsoft Internet Explorer version 6.0 or higher. In this launch, editing html documents will not be available."
/C<Строка текста>– passing the parameter to the configuration Command line parameters of the configurator batch mode:
/DumpIB<Имя файла>-uploading the information base in command mode
/RestoreIB<Имя файла>– loading the infobase in command mode
/DumpCfg<имя cf файла>– saving the configuration to a file
/LoadCfg<имя cf файла>– loading configuration from file
/UpdateDBCfg [-WarningsAsErrors] – update the database configuration. If the WarningsAsErrors key is specified (separated by a space), then all warning messages will be treated as errors
/DumpDBCfg<имя cf файла>– saving the database configuration to a file
/RollbackCfg – return to database configuration
/CheckModules – perform syntax check
/UpdateCfg<имя cf | cfu файла>– updating the supported configuration
/IBCheckAndRepair [-ReIndex] [-LogIntergrity] [-RecalcTotals] [-IBCompression] [-TestOnly | [-BadRefCreate | -BadRefClear | -BadRefNone] [-BadDataCreate | -BadDataDelete] ] – perform testing and correction of the infobase
ReIndex – reindexing tables
LogIntergrity – logical integrity check
RecalcTotals – recalculation of totals
IBCompression – table compression
TestOnly - testing only

If there are references to non-existent objects:
BadRefCreate – create objects
BadRefClear – clear objects
BadRefNone - do not change

in case of partial loss of objects:
BadDataCreate – create objects
BadDataDelete – delete objects

Simultaneous use of keys within a subgroup of parameters is not allowed.
If the command was successful, return code 0, otherwise 1 (101 if there are errors in the data).
After execution, closes the 1C:Enterprise 8.x system.

Batch mode command line options for creating delivery and update files:
/CreateDistributionFiles [-cffile<имя cf файла>] [-cfufile<имя cfu файла>[-f<имя cf файла>|-v<версия дистрибутива>]+] – Create delivery and update files
-cffile<имя cf файла>– instructions to create a distribution kit
-cfufile<имя cfu файла>– instructions to create an update
-f<имя cf файла>– the distribution included in the update is specified by the name
-v<версия дистрибутива>] – the distribution included in the update is specified by the version
Note: parameter group -f<имя cf файла>|-v<версия дистрибутива>is repeated as many times as distribution files are included in the update.

A number of actions, both simplifying the work of users in the program and performing certain administrative tasks with the database, can be performed using the 1C launch parameters:

  • Set up a database backup schedule;
  • Automate data updating (for example, update exchange rates daily);
  • Provide automatic user authorization without the need to enter a username and password;
  • Launch a specific database and a specific version of the platform without the need to select;
  • And many many others.

Entering parameters into the base selection window

The standard information base selection window (Fig. 1), in addition to selecting the launch mode (Configurator or 1Enterprise), has four more functional buttons:

  • Add;
  • Change;
  • Delete;
  • Setup.

If you select the infobase and click the “Change” button and skip the first dialog box, the form will open (Fig. 2).

Fig.2

The input field under “Advanced startup options:” allows you to enter some keys:

  • /N “User name” - this line means that the program will be launched under the user whose name is indicated in quotes;
  • /P “Password” - if user authentication requires entering a password, it must be specified in the parameter value;
  • /UC “Code” - using this parameter allows you to unblock connections to the infobase (blocking is necessary when exclusive access is required).

Thus, a line like “/N “Ivanov Ivan Ivanovich” /P “1234”” relieves the user at a certain workplace from the need to constantly log in when the system starts.

Shortcut options

The above parameters can be specified elsewhere. By calling the context menu of the program shortcut and going to its properties, you can get a window (Fig. 3)

Fig.3

To enter parameters, we need the “Object” input field.

First of all, you need to decide on the application launch mode:

  • DESIGNER (in 8.0 this is the CONFIG parameter) allows you to run the program in configurator mode.
  • ENTERPRISE means starting a normal application.

Next, you can register a specific database to launch, thereby limiting the user’s access to other databases registered in the system. Depending on the operating mode, the parameter can take several values:

  • /F “base address” - used if work is carried out in file mode;
  • /S “server name”\ “name of database on server” - starts the database in client-server mode;
  • /WS “address” - to establish a connection with the web server.

In the latter case, user authentication on a remote web server may be required. A number of parameters allow you to fine-tune:

  1. Wsn – username under which the connection to the server will be made;
  2. Wsp – password of the above user;
  3. Wspsrv – proxy address;
  4. Wspport – port of the corresponding proxy server.

If, after adding these parameters to the properties of the 1C shortcut, you add the authorization parameters specified in the previous section, you can implement the ability to launch a specific database by simply double-clicking without additional windows. This is very convenient when, during testing and development, you have to frequently restart the application, as well as in cases where there is a need to restrict user access to the list of databases registered on the computer.

By copying the created shortcut to the “Startup” folder, you can further optimize the system’s operation (Fig. 4).

Fig.4

Now, when the system starts, the application will be launched in the prescribed mode, for a specific database and under a specific user.

Enabling and disabling Windows user authentication is carried out using the /WA+ and /WA- parameters

Command line and options

In fact, the line written in the “Object” field can be copied almost without correction to the command line launched through Start->All Programs->Accessories->Run. The result will be the same.

Here you can specify several parameters that can also be used from the command line:

  • CREATEINFOBASE – allows you to create an information base of a certain type (the template file must have the extension (dt or cf);
  • Connection String is a required parameter that indicates the location of the created database, must consist of a pair of Parameter Name and Values, combined with an equal sign (example line for the file version of work: File= “D:\1с base\1Cv8Log” for server databases Srvr= “ Server3");
  • DBMS – depending on the specified value, describes what type of database server is used.

Backing up a database using 1C command line parameters

To perform this important operation, you can use Notepad or another text editor to create a bat file, the launch schedule of which can be registered in the appropriate Windows menu or on the server.

Bottom line

In this article, we did not set out to fully describe all possible system startup parameters, which can be viewed in the corresponding menu of the Syntax Assistant. We tried to give a general idea of ​​this feature and some examples of its use.

Mode selection command line options:

CONFIG
launching the 1C:Enterprise 8 system in the “Configurator” mode

ENTERPRISE
launching the 1C:Enterprise 8 system in the “1C:Enterprise” mode

CREATEINFOBASE
creating delivery and update files


a line specifying the infobase parameters, each of which is a fragment of the form
,
where Parameter Name is the name of the parameter, and Value is its value. Fragments are separated from each other by ";". If a value contains whitespace, it must be enclosed in double quotes (").

File Mode Options

File information base directory;
Locale is the language (country) that will be used to create the information base. Valid values ​​are the same as for the Format method parameter. The Locale parameter is not required. If not specified, the regional settings of the current infobase will be used.

Client-server mode parameters

Srvr 1C:Enterprise server name;
Ref name of the infobase on the server;
SQLSrvr SQL server name;
SQLDB SQL database name;
SQLUID SQL username;
SQLPwd SQL user password. If a password for the SQL user is not specified, then this parameter can be omitted.
SQLYOffs is the date offset used to store dates in SQL Server. Can take values ​​0 or 2000. This parameter is not required. If not specified, the value 0 is accepted.
Locale - language (country), (similar to the file version).

For all options the following parameters are defined:

Usr Username;
Pwd password

/AddInList a parameter indicating under what name to add the database to the list; if not specified, the database will not be added to the list. If a name is not specified, the default is used, similar to the interactive creation of an infobase.
Simultaneous use of keys is not allowed.

Command line options to specify startup options:

/@
command line parameters are written in the specified file

/F
path to the infobase, if it is stored in a file (the file name does not need to be specified)

/S
The address of the information base stored on the 1C:Enterprise 8 server is as follows:

/N
Username. Must be specified in the same way as in the list of users created in the Configurator

/P
The password of the user whose name is specified in the /N parameter. If the user does not have a password, this parameter can be omitted

/WA-
prohibiting the use of Windows authentication when starting an Enterprise or Configurator

/WA+
setting the mandatory use of Windows authentication when starting 1C:Enterprise or Configurator. If the /WA switch is not specified, the /WA+ command line option is assumed to be used.

/AU-
prohibiting the display of a question about updating the current version of 1C:Enterprise from an administrative installation

/AU+
setting the output of the question about updating the current version of 1C:Enterprise from an administrative installation. If the /AU switch is not specified, the /AU+ command line option is assumed to be used.

/Out
[-NoTruncate]
installation of a file for outputting service messages. If the NoTruncate key is specified (separated by a space), the file is not cleared

/L
indicates the directory of localized interface resources (for example, “RU”)

/DisableStartupMessages
Suppresses startup messages: “The database configuration does not match the saved configuration. Continue?"; “Your computer's capabilities are not sufficient to edit the configuration help. To edit the help, you must install Microsoft Internet Explorer version 6.0 or higher.”; “Your computer’s capabilities are not sufficient to edit HTML documents, including help topics. To edit HTML documents, you must install Microsoft Internet Explorer version 6.0 or higher. In this launch, editing html documents will not be available."

/C
passing a parameter to the configuration

Batch mode

Using command line options, an administrator can run the configurator in batch mode to perform the following actions:

  • updating the database configuration, including those under support;
  • performing syntactic control;
  • performing testing and correction of the information base with setting all parameters;
  • reduction of the logbook;
  • perform a configuration check.
  • Using command line parameters, an administrator can specify:

    • launching the 1C:Enterprise 8 system in Configurator mode;
    • infobase parameters: user, password; for the file version - directory, language; for the client-server option - server name, infobase name, SQL server name, SQL database name, SQL user name and password, date offset.

    In addition, all launch parameters can be generated in an external file, the name of which is specified in the command line parameters.

    After completing the actions specified in the launch parameters, the 1C:Enterprise configurator closes.

    Using the configurator batch launch mode allows you to automate the process of maintaining infobases by launching the corresponding command files on a schedule.

    Configurator batch mode command line parameters:

    /DumpIB
    unloading the infobase in command mode

    /DumpCfg
    saving configuration to file

    /UpdateDBCfg
    [-WarningsAsErrors]
    updating the database configuration. If the Warnings-AsErrors key is specified (separated by a space), then all warning messages will be treated as errors

    /DumpDBCfg
    saving database configuration to file

    /RollbackCfg
    return to database configuration

    /CheckModules
    perform syntax check

    /UpdateCfg
    updating a supported configuration

    /IBCheckAndRepair [-ReIndex]
    [-LogIntergrity] [-RecalcTotals]
    [-IBCompression]
    [-TestOnly | [-BadRefCreate |
    -BadRefClear | -BadRefNone]
    [-BadDataCreate |
    -BadDataDelete] ]
    perform testing and correction of the information base

    ReIndex
    table reindexing

    LogIntergrity
    logical integrity check

    RecalcTotals
    recalculation of results

    IBCompression
    table compression

    TestOnly
    only testing when there are references to non-existent objects:

    BadRefCreate
    create objects

    BadRefClear
    clear objects

    BadRefNone
    don't change

    In case of partial loss of objects:

    BadDataCreate
    create objects

    BadDataDelete
    delete objects

    Simultaneous use of keys within a subgroup of parameters is not allowed. If the command was successful, returns a return code of 0, otherwise 1 (101 if there are errors in the data).

    Batch mode command line options for creating delivery and update files:

    /CreateDistributionFiles
    [-cffile]
    [-cfufile
    [-f |-v ]+]
    Creating delivery and update files

    Cffile
    instructions to create a distribution

    Cfufile
    instructions to create an update

    F
    the distribution included in the update is specified by the name

    V ]
    the distribution included in the update is determined by the version

    Note: the group of parameters -f |-v is repeated as many times as the distribution files are included in the update.

    Command line parameters for working with the configuration repository:

    /DepotF
    storage directory

    /DepotN
    storage username

    /DepotP
    storage user password

    V
    v - version number, if the version number is not specified or is equal to -1, the latest version will be saved.

    /DepotUpdateCfg [-v ] [-revised]
    Update storage configuration from file (batch mode)

    V
    version number, if the version number is not specified or is equal to -1, the latest version will be saved, if the configuration is connected to the storage, then the parameter is ignored

    Revised
    receive captured objects if necessary. If the configuration is not connected to the storage, the parameter is ignored.

    Command line parameters for batch mode registration of 1C:Enterprise 8 as an Automation server:

    /RegServer
    application registration

    /UnregServer
    deleting application registration

    After execution, closes the 1C:Enterprise 8 system.
    If parameter values ​​include spaces (for example, a path or file name), the values ​​must be enclosed in quotation marks.

    Examples

    How to launch 1C:Enterprise 8 from the command line

    C:\Program Files\1cv8\bin\1cv8.exe" ENTERPRISE /F D:\Configurations\Typical\Trading Control /N Username /P Password

    C:\Program Files\1cv8\bin\1cv8.exe" ENTERPRISE /S Server\Base /N Username /P Password

    C:\Program Files\1cv8\bin\1cv8.exe" CONFIG /F D:\Configurations\Typical\Trading Control /N Username /P Password

    How to force 1C:Enterprise to upload a database from the command line

    C:\Program Files\1cv8\bin\1cv8.exe" CONFIG /F D:\Trading Control /N Username /P Password /DumpIB c:\name.dt

    How to update current configuration changes to a database configuration from the command line

    C:\Program Files\1cv8\bin\1cv8.exe" CONFIG /F D:\Trading Control /N Username /P Password /UpdateDBCfg

    How to test and correct an infobase without checking referential integrity automatically

    C:\Program Files\1cv8\bin\1cv8.exe" CONFIG /F"C:\DemoTrd2" /N"Fedorov (administrator)" /P"" /IBcheckAndRepair -LogIntegrity

    How to perform a configuration check automatically and output the check results to a file

    C:\Program Files\1cv8\bin\1cv8.exe" CONFIG /F"C:\DemoTrd2" /N"Fedorov (administrator)" /P"" /OutD:\my\log.txt /CheckConfig -ClientServer -Client -ExternalConnectionServer -ExternalConnection -Server -DistributiveModules -IncorrectReferences -ConfigLogicalIntegrity -UnreferenceProcedures -HandlersExistence -EmptyHandlers

    How to shorten the log programmatically

    C:\Program Files\1cv8\bin\1cv8.exe" CONFIG /F"C:\DemoTrd2" /N"Fedorov (administrator)" /P"" /OutD:\my\log.txt /ReduceEventLogSize 2004-12- 26 -saveAsC:\OldLog.elf

    How to unload modules of an application solution as text files from the command line

    C:\Program Files\1cv8\bin\1cv8.exe" CONFIG /F"C:\DemoTrd2" /N"Fedorov (administrator)" /P"" /DumpConfigFiles "D:\1\11" -Module

    How to load help files saved in htm format into an application solution

    C:\Program Files\1cv8\bin\1cv8.exe" CONFIG /F"C:\DemoTrd2" /N"Fedorov (administrator)" /P"" /LoadConfigFiles "D:\1\11" -Help