{"id":3571,"date":"2013-08-09T05:55:22","date_gmt":"2013-08-08T19:55:22","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=3571"},"modified":"2013-08-09T05:55:22","modified_gmt":"2013-08-08T19:55:22","slug":"more-windows-command-prompt-via-batch-file-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/more-windows-command-prompt-via-batch-file-tutorial\/","title":{"rendered":"More Windows Command Prompt Via Batch File Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Windows\/Batch\/\"><img decoding=\"async\" style=\"float: left; border: 15px solid pink;\" id='imgatimeline' onmouseover=\"var xqw=this.src; if (xqw.indexOf('9') != -1) { this.src = 'http:\/\/www.rjmprogramming.com.au\/Windows\/Batch\/Windows_Batch_More-1of.jpg'; } else if (xqw.indexOf('8') != -1) { this.src = 'http:\/\/www.rjmprogramming.com.au\/Windows\/Batch\/Windows_Batch_More-9of.jpg'; } else if (xqw.indexOf('7') != -1) { this.src = 'http:\/\/www.rjmprogramming.com.au\/Windows\/Batch\/Windows_Batch_More-8of.jpg'; }  else if (xqw.indexOf('6') != -1) { this.src = 'http:\/\/www.rjmprogramming.com.au\/Windows\/Batch\/Windows_Batch_More-7of.jpg'; }  else if (xqw.indexOf('5') != -1) { this.src = 'http:\/\/www.rjmprogramming.com.au\/Windows\/Batch\/Windows_Batch_More-6of.jpg'; }  else if (xqw.indexOf('4') != -1) { this.src = 'http:\/\/www.rjmprogramming.com.au\/Windows\/Batch\/Windows_Batch_More-5of.jpg'; }  else if (xqw.indexOf('3') != -1) { this.src = 'http:\/\/www.rjmprogramming.com.au\/Windows\/Batch\/Windows_Batch_More-4of.jpg'; }  else if (xqw.indexOf('2') != -1) { this.src = 'http:\/\/www.rjmprogramming.com.au\/Windows\/Batch\/Windows_Batch_More-3of.jpg'; }  else if (xqw.indexOf('1') != -1) { this.src = 'http:\/\/www.rjmprogramming.com.au\/Windows\/Batch\/Windows_Batch_More-2of.jpg'; } else { this.src = 'http:\/\/www.rjmprogramming.com.au\/Windows\/Batch\/Windows_Batch_More-1of.jpg'; } \" alt=\"More Windows Command Prompt Via Batch File Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Windows\/Batch\/Windows_Batch_More-6of.jpg\" title=\"More Windows Command Prompt Via Batch File Tutorial (try twirling round bottom of image for a synopsis ... 'do the twirl now')\" \/><\/a><p class=\"wp-caption-text\">More Windows Command Prompt Via Batch File Tutorial (try twirling round bottom of image for a synopsis ... 'do the twirl now')<\/p><\/div>\n<p>This tutorial builds on the previous <a title='Windows Command Prompt Via Batch File' href=\"#prevwbtut\">Windows Command Prompt Via Batch File<\/a> tutorial, showing you the use of some Windows Command Prompt commands such as set \/a, set \/p, date, time, echo, pause, call, if, goto, for\/f, systeminfo, ping, choice to help with your continued research.   Windows Command Prompt Batch files can do amazing things and I&#8217;d like to link you to <a target=_blank title='' href='http:\/\/users.cybercity.dk\/~bse26236\/batutil\/help\/STRINGS.HTM#bennylevel'>Strings<\/a> for some brilliant thoughts regarding this.   The date parsing ideas were from <a target=_blank title='Windows Batch File (.bat): Get Current Date as MMDDYYYY' href='http:\/\/www.tech-recipes.com\/rx\/956\/windows-batch-file-bat-to-get-current-date-in-mmddyyyy-format\/'>Windows Batch File (.bat): Get Current Date as MMDDYYYY<\/a> (thanks a lot).<\/p>\n<p>Here is some downloadable Windows Command Prompt Batch File programming source code which you could rename to <a target=_blank title='ideas.bat' href='http:\/\/www.rjmprogramming.com.au\/Windows\/Batch\/ideas.bat_GETME'>ideas.bat<\/a> as you see fit (and hopefully don&#8217;t have a fit?!).<\/p>\n<hr \/>\n<p id=\"prevwbtut\">Previous Windows Command Prompt Via Batch File <a target=_blank title='Windows Command Prompt Via Batch File' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=351'>tutorial<\/a> below:<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/WindowsCommandPromptViaBatchFilePrimer\/iFrame.html\"><img decoding=\"async\" style=\"float: left; border: 15px solid pink;\" alt=\"Windows Command Prompt Via Batch File\" src=\"http:\/\/www.rjmprogramming.com.au\/WindowsCommandPromptViaBatchFilePrimer\/WindowsCommandPromptViaBatchFilePrimer.jpg\" title=\"Windows Command Prompt Via Batch File\" \/><\/a><p class=\"wp-caption-text\">Windows Command Prompt Via Batch File<\/p><\/div>\n<p><a target=_blank title='click picture' href='http:\/\/www.rjmprogramming.com.au\/WindowsCommandPromptViaBatchFilePrimer\/iFrame.html'>Tutorial<\/a> &#8230;<\/p>\n<p><strong><\/p>\n<p>Transcript:<\/p>\n<p><\/strong><\/p>\n<p>Do you own a Windows computer?<\/p>\n<p>Have you heard of Command Prompt, or MS-DOS, or the DOS prompt?<\/p>\n<p>It is like Bash Scripting on Linux or Korn Shell scripting on Unix<br \/>\n    and could open a whole new world of possibilities for your work<br \/>\n    in Windows.<\/p>\n<p>If you are a beginner you need to start slowly, and in this<br \/>\n    tutorial we will only do benign commands that, for the most part,<br \/>\n    read rather than write anything.<\/p>\n<p>We&#8217;ll do a bit of:<\/p>\n<p>cd<br \/>\necho<br \/>\ncd [place]<br \/>\ndir<br \/>\ntype<br \/>\nmore<br \/>\ntasklist<br \/>\nvol<\/p>\n<p>In your search engine look for &#8220;MS-DOS commands&#8221; for further<br \/>\n   information.   Once you see a command of interest, at<br \/>\n   Command Prompt you can type:<\/p>\n<p>help [command]<\/p>\n<p>&#8230; to find further information.<\/p>\n<p>So here goes &#8230; we will open the Command Prompt application &#8230; then run a preprepared<br \/>\n   Batch script &#8230; but just concentrate on its commands, rather than doing scripting<br \/>\n   &#8230; that is for later &#8230; at the end of the presentation the Batch script is typed<br \/>\n   out for you.\n<\/p>\n<p><strong>Let&#8217;s explore some more command prompt commands below on 20\/3\/2013 &#8230;<\/strong><\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/wordpress\/help-rename-find-copy.jpg\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Windows Command Prompt ... more\" src=\"http:\/\/www.rjmprogramming.com.au\/wordpress\/help-rename-find-copy.jpg\" title=\"Windows Command Prompt ... more\" style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Windows Command Prompt ... more<\/p><\/div>\n<p><a target=_blank href='http:\/\/www.computerhope.com\/msdos.htm' title='Great MS-DOS Information Link'>Great Command Prompt Information Link<\/a><\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d351' onclick='var dv=document.getElementById(\"d351\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?cat=60\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d351' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr \/>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d3571' onclick='var dv=document.getElementById(\"d3571\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?cat=60\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d3571' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial builds on the previous Windows Command Prompt Via Batch File tutorial, showing you the use of some Windows Command Prompt commands such as set \/a, set \/p, date, time, echo, pause, call, if, goto, for\/f, systeminfo, ping, choice &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/more-windows-command-prompt-via-batch-file-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,29,37],"tags":[119,136,236,885,997,1221,1319,1435],"class_list":["post-3571","post","type-post","status-publish","format-standard","hentry","category-elearning","category-operating-system","category-tutorials","tag-automation","tag-batch-file","tag-command-prompt","tag-operating-system-2","tag-programming","tag-supervision","tag-tutorial","tag-windows"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/3571"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=3571"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/3571\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=3571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=3571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=3571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}