environmentcommandline

September 14, 2025 ยท View on GitHub

Shows how to use xtd::environment::command_line method.

Sources

  • src/environment_command_line.cpp
  • CMakeLists.txt

Build and run

Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:

xtdc run

Output

>environment_command_line ARBITRARY TEXT

CommandLine: /!---OMITTED---!/environment_command_line  ARBITRARY TEXT

Contents

  1. 1Sources
  2. 2Build and run
  3. 3Output