{"id":125,"date":"2011-05-27T19:27:48","date_gmt":"2011-05-27T19:27:48","guid":{"rendered":"http:\/\/devnot.wordpress.com\/?p=125"},"modified":"2011-05-27T19:27:48","modified_gmt":"2011-05-27T19:27:48","slug":"get-the-command-line","status":"publish","type":"post","link":"https:\/\/thomas-jansen.eu\/?p=125","title":{"rendered":"Get the command line"},"content":{"rendered":"<p>There are two ways to get the command line.<\/p>\n<pre>string commandLine = System.Environment.CommandLine;<\/pre>\n<p>This property contains the entire (full) command line.<\/p>\n<p>or use:<\/p>\n<pre>string[] commandLine = System.Environment.GetCommandLineArgs();<\/pre>\n<p>The first array element contains the executable (may include the path)<br \/>\nThe other array elements the arguments. They are separated by spaces.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are two ways to get the command line. string commandLine = System.Environment.CommandLine; This property contains the entire (full) command line. or use: string[] commandLine = System.Environment.GetCommandLineArgs(); The first array element contains the executable (may include the path) The other array elements the arguments. They are separated by spaces.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[16],"class_list":["post-125","post","type-post","status-publish","format-standard","hentry","category-c","tag-command-line"],"_links":{"self":[{"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/posts\/125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=125"}],"version-history":[{"count":0,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/posts\/125\/revisions"}],"wp:attachment":[{"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}