{"id":5613,"date":"2015-10-15T11:11:07","date_gmt":"2015-10-15T09:11:07","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/hayek\/jochen\/wp\/blog-en\/?p=5613"},"modified":"2015-10-15T11:11:07","modified_gmt":"2015-10-15T09:11:07","slug":"windows-batch-files-command-line-parameters","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2015\/10\/15\/windows-batch-files-command-line-parameters\/","title":{"rendered":"Windows batch files &#8211; shell programming \u00e0 la Windows resp. Microsoft"},"content":{"rendered":"<ul>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/batch_file\">https:\/\/en.wikipedia.org\/wiki\/batch_file<\/a>\u00a0!!!<\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/cmd.exe\">https:\/\/en.wikipedia.org\/wiki\/cmd.exe<\/a><\/li>\n<li><a href=\"http:\/\/www.robvanderwoude.com\/parameters.php\">http:\/\/www.robvanderwoude.com\/parameters.php<\/a><\/li>\n<li><a href=\"https:\/\/www.microsoft.com\/resources\/documentation\/windows\/xp\/all\/proddocs\/en-us\/cmd.mspx\">https:\/\/www.microsoft.com\/resources\/documentation\/windows\/xp\/all\/proddocs\/en-us\/cmd.mspx<\/a><\/li>\n<li><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/bb490880.aspx\">https:\/\/technet.microsoft.com\/en-us\/library\/bb490880.aspx<\/a>\u00a0\u2013 on cmd.exe (apparently not updated since WinXP) (same content as above)<\/li>\n<li><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/bb490890.aspx\">https:\/\/technet.microsoft.com\/en-us\/library\/bb490890.aspx<\/a> \u2013\u00a0command-line reference A-Z<\/li>\n<li><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/bb490954.aspx\">https:\/\/technet.microsoft.com\/en-us\/library\/bb490954.aspx<\/a> \u2013 command shell overview<\/li>\n<li><a href=\"http:\/\/ss64.com\/nt\">http:\/\/ss64.com\/nt<\/a> &#8212; &#8220;an A-Z Index of the Windows CMD command line&#8221; &#8212; very, very helpful documentation<\/li>\n<li><a href=\"http:\/\/ss64.com\/nt\/if.html\">http:\/\/ss64.com\/nt\/if.html<\/a> &#8212;\u00a0&#8220;IF &#8212; conditionally perform a command&#8221; &#8212; details I &#8220;always&#8221; wanted to know &#8212; file checking, string comparisons and checking, error (exit code) testing, &#8230;<\/li>\n<\/ul>\n<p>&#8220;<em>Command extensions<\/em> enable extra features in NT shells&#8221;:<\/p>\n<ul>\n<li><a href=\"http:\/\/www.robvanderwoude.com\/cmdextmsg.php\">http:\/\/www.robvanderwoude.com\/cmdextmsg.php<\/a><\/li>\n<li><a href=\"http:\/\/www.robvanderwoude.com\/local.php\">http:\/\/www.robvanderwoude.com\/local.php<\/a>\u00a0: &#8220;SETLOCAL\u00a0ENABLEEXTENSIONS&#8221;<\/li>\n<li>&#8230;<\/li>\n<\/ul>\n<p>&#8220;%~dp0&#8221;, &#8230; &#8212; &#8220;what does %~dp0 mean, and how does it work?&#8221;:<\/p>\n<ul>\n<li><a href=\"http:\/\/stackoverflow.com\/questions\/5034076\/what-does-dp0-mean-and-how-does-it-work\">http:\/\/stackoverflow.com\/questions\/5034076\/what-does-dp0-mean-and-how-does-it-work<\/a><\/li>\n<li><a href=\"http:\/\/www.microsoft.com\/resources\/documentation\/windows\/xp\/all\/proddocs\/en-us\/percent.mspx\">http:\/\/www.microsoft.com\/resources\/documentation\/windows\/xp\/all\/proddocs\/en-us\/percent.mspx<\/a> &#8212; &#8220;using batch parameters&#8221;<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/en.wikipedia.org\/wiki\/batch_file\u00a0!!! https:\/\/en.wikipedia.org\/wiki\/cmd.exe http:\/\/www.robvanderwoude.com\/parameters.php https:\/\/www.microsoft.com\/resources\/documentation\/windows\/xp\/all\/proddocs\/en-us\/cmd.mspx https:\/\/technet.microsoft.com\/en-us\/library\/bb490880.aspx\u00a0\u2013 on cmd.exe (apparently not updated since WinXP) (same content as above) https:\/\/technet.microsoft.com\/en-us\/library\/bb490890.aspx \u2013\u00a0command-line reference A-Z https:\/\/technet.microsoft.com\/en-us\/library\/bb490954.aspx \u2013 command shell overview http:\/\/ss64.com\/nt &#8212; &#8220;an A-Z Index of the Windows CMD command line&#8221; &#8212; very, very helpful documentation http:\/\/ss64.com\/nt\/if.html &#8212;\u00a0&#8220;IF &#8212; conditionally perform a command&#8221; &#8212; details I &#8220;always&#8221; wanted to know [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[666],"tags":[],"class_list":["post-5613","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-1sx","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/5613","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=5613"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/5613\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=5613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=5613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=5613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}