assignlicense (Windows only) すべてを展開/折りたたむ このトピックを印刷 前のページ 1つ上のレベル 次のページ

ホーム >  MapForce Server コマンドライン >

assignlicense (Windows only)

On execution, the assignlicense command uploads the license file specified by the FILE argument to the registered LicenseServer, and assigns the license to MapForce Server on this machine. The FILE argument takes the filepath of the license file. The --test-only option allows you to upload to LicenseServer and validate the license, without assigning the license to MapForce Server. For details about licensing, see the LicenseServer documentation (


Note:This command is supported only on Windows systems. It is not supported on Linux or Mac systems.




MapForceServer assignlicense [options] FILE


Click to expand/collapseコマンドライン上の文字種とスラッシュ

Windows上での MapForceServer

Unix (Linux、 Mac) 上での mapforceserver


* 小文字は (mapforceserver) 全てのプラットフォーム(Windows、Linux、 および Mac)で使用することができますが、大文字と小文字 (MapForceServer) は、 Windows および Mac のみでしか使用できません。

* Linux と Mac 上ではスラッシュを使用し、Windows 上では、バックスラッシュを使用してください。






The path to the license file





--t, --test-only

Values are true|false. If true, then the license file is uploaded to LicenseServer and validated, but not assigned. If the option is specified without a value, then it is set to a value of true.

--h, --help

Displays information about the command


Options are listed in their short forms (if available) and long forms. You can use one or two dashes for both short and long forms. An option that takes a value is written like this: --option=value.


Note:On Windows systems: Avoid using the end backslash and closing quote on the command line \", for example, as in: "C:\My directory\". These two characters are interpreted by the command line parser as a literal double-quotation mark. Use the double backslash \\ if spaces occur in the command line and you need the quotes (for example: "C:\My Directory\\"). Alternatively, try to avoid using spaces and, therefore, quotes at all.



Examples of the assignlicense command:


mapforceserver assignlicense C:\MapForce Server12345.altova_licenses

mapforceserver assignlicense --test-only=true C:\MapForce Server12345.altova_licenses


The first command above uploads the specified license to LicenseServer and assigns it to MapForce Server.
The second command uploads the specified license to LicenseServer and validates it, without assigning it to MapForce Server.

(C) 2019 Altova GmbH