Start programme via command line
In addition to calling up the via the "EASY Navigator", it is also possible to start the programme with a command via the command line or this command within a batch file.
-
To start the programme via command line:
-
Click on the Windows™ Start button:

-
Enter the command cmd in the command line.
-
A new instance of the Windows command interpreter is started.
-
-
Enter the command to open the programme:
"<programme path>\PackageManagerCmd.exe"< >-<call parameter>
-
The angle brackets must not be entered.
-
The spaces < > in the command must be observed.
-
Capitalisation is optional. It is only used here for better presentation.
-
Programme path
The path points to the programme file. By default, the following path must be entered for Windows™ 7, for example:
-
"c:\Program Files (x86)\Lenze\EASYPackageManager\"
-
Inverted commas must be entered if the path contains spaces.
Call parameters
The can import packages using the call parameters.
The call parameters and the programme name are only supported from version 1.16.
Only one of the following call parameters may be used at any one time.
|
Call parameters |
Impact on the programme |
|---|---|
|
ImportPackage<>"<directory>\<filename>.lpk" |
Imports a package from the specified file |
|
ImportPackages<>"<directory>" |
Imports all packages from the specified directory including its subdirectories. |
|
ImportPackagesFromZip<>"<directory>\<filename>.zip" |
Imports all packages from the specified ZIP file. |
Return values
|
Return value |
Info |
|---|---|
|
500 |
The function is not available because another Lenze Engineering Tool is active. |
|
1100 |
Failed to install the package. |
|
1601 |
The directory and subdirectory do not contain any package files. |
|
1702 |
No installable packages found in the ZIP file. |
Example of a command specification
"c:\Program Files(x86)\Lenze\EASYPackageManager\PackageManagerCmd.exe" -ImportPackage "C:\temp\Package\8400 motec V11.01.00 (1.1).lpk"
'-' indicates an empty space in the command specification.