{"id":16383,"date":"2009-10-14T07:00:00","date_gmt":"2009-10-14T07:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2009\/10\/14\/when-you-want-to-pass-a-parameter-on-the-command-line-dont-forget-to-pass-the-parameter-on-the-command-line\/"},"modified":"2009-10-14T07:00:00","modified_gmt":"2009-10-14T07:00:00","slug":"when-you-want-to-pass-a-parameter-on-the-command-line-dont-forget-to-pass-the-parameter-on-the-command-line","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20091014-00\/?p=16383","title":{"rendered":"When you want to pass a parameter on the command line, don&#039;t forget to pass the parameter on the command line"},"content":{"rendered":"<p>\nThis happens to me, too.\nI once got so distracted by the process of purchasing some tickets\nin person,\nchoosing the performance date and the seats,\nfumbling for my credit card,\nsigning the receipt, and when I was done, I left the ticket booth\nwithout my tickets!\n<\/p>\n<p>\nHere is a question that came in from a customer.\nThe details have been changed but the underlying point is the same.\n<\/p>\n<blockquote CLASS=\"q\">\n<p>\nAccording to the documentation, the\n<code><a HREF=\"http:\/\/www.seasite.niu.edu\/Tagalog\/howSlangwords.htm\">taglog<\/a><\/code> command\nprints a history log of all the tags in the system.\nI can pass the <code>-d<\/code> option to limit the date range,\nand that works too.\nIt also says that\nthat I can pass a specific tag name to limit the listing to just\nthat one tag,\nbut I can&#8217;t get that part to work.\nHere&#8217;s what I&#8217;m doing:\n<\/p>\n<pre>\nfor \/f %i in (taglist.txt) do taglog -d 2008\/05\/01,2008\/05\/31 &gt;&gt; output\n<\/pre>\n<p>\nBut this just dumps the history of all tags during the month of May,\nnot the tags I asked for.\n<\/p>\n<\/blockquote>\n<p>\nThis customer got so excited about passing the date range filter\nthat he forgot to pass the tag name.\n<\/p>\n<pre>\nfor \/f %i in (taglist.txt) do taglog -d 2008\/05\/01,2008\/05\/31 <font COLOR=\"blue\">%i<\/font> &gt;&gt; output\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This happens to me, too. I once got so distracted by the process of purchasing some tickets in person, choosing the performance date and the seats, fumbling for my credit card, signing the receipt, and when I was done, I left the ticket booth without my tickets! Here is a question that came in from [&hellip;]<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[26],"class_list":["post-16383","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-other"],"acf":[],"blog_post_summary":"<p>This happens to me, too. I once got so distracted by the process of purchasing some tickets in person, choosing the performance date and the seats, fumbling for my credit card, signing the receipt, and when I was done, I left the ticket booth without my tickets! Here is a question that came in from [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/16383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=16383"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/16383\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=16383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=16383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=16383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}