{"id":32325,"date":"2017-09-02T03:01:21","date_gmt":"2017-09-01T17:01:21","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=32325"},"modified":"2018-03-03T20:53:21","modified_gmt":"2018-03-03T10:53:21","slug":"windows-command-prompt-clip-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/windows-command-prompt-clip-primer-tutorial\/","title":{"rendered":"Windows Command Prompt Clip Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Windows\/clip.pdf\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Windows Command Prompt Clip Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Windows\/clip.jpg\" title=\"Windows Command Prompt Clip Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Windows Command Prompt Clip Primer Tutorial<\/p><\/div>\n<p>Do you use Windows, and are still fans of the Command Prompt (access to DOS) desktop application?   There&#8217;s a command there that I&#8217;ve never used, until reading the August, 2017 edition of &#8220;PC &#038; Tech Authority&#8221; magazine, with its really useful &#8220;The 19 Best Command Prompt Commands&#8221; article by Darien Graham-Smith, thanks.  The particular (DOS) command I refer to is &#8230;<\/p>\n<p><code><br \/>\nCLIP<br \/>\n<\/code><\/p>\n<p> &#8230; which copies the associated piped (|) or redirected (&gt; or &lt;) Command Prompt command&#8217;s results to the Windows clipboard.<\/p>\n<p>To illustrate this we&#8217;ve created a PDF <a target=_blank title='Click picture' href='http:\/\/www.rjmprogramming.com.au\/Windows\/clip.pdf'>slideshow<\/a> featuring the use of the CLIP command <b>as per<\/b> &#8230;<\/p>\n<p><code><br \/>\nTREE . \/f <b>| CLIP<\/b><br \/>\n<\/code><\/p>\n<p> &#8230; to copy the &#8220;TREE current directory and beyond, including files&#8221; results into the Windows clipboard.  We then open the Windows Accessories <i>Notepad<\/i> text editor and use its Edit -&gt; Paste option to paste the results from the Windows clipboard into a document that we save in UTF-8 format (because the TREE command contains characters outside the normal ascii range) for reporting purposes.<\/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='#d32325' onclick='var dv=document.getElementById(\"d32325\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/command-line\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d32325' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Do you use Windows, and are still fans of the Command Prompt (access to DOS) desktop application? There&#8217;s a command there that I&#8217;ve never used, until reading the August, 2017 edition of &#8220;PC &#038; Tech Authority&#8221; magazine, with its really &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/windows-command-prompt-clip-primer-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":[1856,214,234,236,265,358,2314,907,1304,1319,1352,1435],"class_list":["post-32325","post","type-post","status-publish","format-standard","hentry","category-elearning","category-operating-system","category-tutorials","tag-clip","tag-clipboard","tag-command-line","tag-command-prompt","tag-copy","tag-dos","tag-notepad","tag-paste","tag-tree","tag-tutorial","tag-utf-8","tag-windows"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/32325"}],"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=32325"}],"version-history":[{"count":4,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/32325\/revisions"}],"predecessor-version":[{"id":36567,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/32325\/revisions\/36567"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=32325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=32325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=32325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}