Test your argument passing with these echo apps.
C# C++
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
EchoArgsCPP
EchoArgsCS
.gitattributes
.gitignore
EchoArgs.sln
README.md
echoargs.cmd
echoargs.ps1

README.md

EchoArgs

Simple apps for testing argument parsing.

  • C++ app
    • argv
    • GetCommandLineW()
    • CommandLineToArgvW()
  • C# app
    • Environment.GetCommandLineArgs()
    • Environment.CommandLine
  • Batch file
    • %CmdCmdLine%
    • %0
    • %*
  • PowerShell script
    • $PSCommandPath
    • $args

Each app/script will echo all arguments passed in.