{"id":1061,"date":"2014-02-04T10:09:27","date_gmt":"2014-02-04T09:09:27","guid":{"rendered":"http:\/\/samjwatkins.com\/blog\/?p=1061"},"modified":"2014-02-04T10:13:23","modified_gmt":"2014-02-04T09:13:23","slug":"shell-power","status":"publish","type":"post","link":"https:\/\/samjwatkins.com\/blog\/?p=1061","title":{"rendered":"Shell power"},"content":{"rendered":"<div id=\"attachment_1072\" style=\"width: 194px\" class=\"wp-caption alignright\"><a href=\"http:\/\/commons.wikimedia.org\/wiki\/File:Kelletia_kelletii_shell.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1072\" class=\" wp-image-1072\" title=\"An impressive shell\" src=\"http:\/\/samjwatkins.com\/blog\/wp-content\/uploads\/2014\/02\/a.png\" alt=\"\" width=\"184\" height=\"336\" \/><\/a><p id=\"caption-attachment-1072\" class=\"wp-caption-text\">Reused from&#8230;<\/p><\/div>\n<p>I first learnt to programme on a Commodore C64, and the way I used that computer was through what I now know is a command line interface or CLI.\u00a0 This interface is a shell between me and the fundamental operating system which allows me, the user, to read data off the storage and put them into the computer&#8217;s memory or RAM: when this data forms instructions, this shell allows me to run a programme.<\/p>\n<p>I was taking my first steps in the 1980&#8217;s at home.\u00a0 In the commercial world, Mike Cowlishaw of IBM was producing a language which could be used in a command shell to run other programmes as if a human were using them through the command interface.\u00a0 This language was called REXX, if you&#8217;ve used macros in Excel or Word, REXX was the granddaddy of macro languages because you could run a REXX script outside of the programme and indeed link the output and functions of many programmes together to achieve your goal.\u00a0 I encountered REXX in 1995, in a port on the Amiga 1200.\u00a0 That was when I finally moved away from using the mouse as my main interface with computers by preference.<\/p>\n<p>In Windows 7, 2008, 2012 and finally 8, everyone gets use of PowerShell (in various guises) which has this REXX capability.\u00a0 You have the ability to manipulate programmes in Windows to perform repetitive tasks quickly, easily and safely.\u00a0 The normal DOS shell lacked this, so it was with interest that I first looked at using Powershell at the recommendation of a friend.<\/p>\n<p>I have successfully used Powershell to get Excel reports out of hundreds of Word documents, convert 100&#8217;s of Word, Powerpoint, Visio and Excel documents to other formats (typically png and pdf), complete templates from data held in Excel documents and run testing schedules for web programmes.<\/p>\n<p>It&#8217;s very good: multi-threading is built in to get through tasks quickly and I&#8217;m not even using it to it&#8217;s fill extent.\u00a0 If you are learning to programme, this may be a useful first step \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I first learnt to programme on a Commodore C64, and the way I used that computer was through what I now know is a command line interface or CLI.\u00a0 This interface is a shell between me and the fundamental operating system which allows me, the user, to read data off the storage and put them [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1061","post","type-post","status-publish","format-standard","hentry","category-work"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Shell power - Finding the chase and cutting to it<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/samjwatkins.com\/blog\/?p=1061\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Shell power - Finding the chase and cutting to it\" \/>\n<meta property=\"og:description\" content=\"I first learnt to programme on a Commodore C64, and the way I used that computer was through what I now know is a command line interface or CLI.\u00a0 This interface is a shell between me and the fundamental operating system which allows me, the user, to read data off the storage and put them [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/samjwatkins.com\/blog\/?p=1061\" \/>\n<meta property=\"og:site_name\" content=\"Finding the chase and cutting to it\" \/>\n<meta property=\"article:published_time\" content=\"2014-02-04T09:09:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-02-04T09:13:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/samjwatkins.com\/blog\/wp-content\/uploads\/2014\/02\/a.png\" \/>\n\t<meta property=\"og:image:width\" content=\"184\" \/>\n\t<meta property=\"og:image:height\" content=\"336\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Sam J Watkins\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sam J Watkins\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/samjwatkins.com\/blog\/?p=1061#article\",\"isPartOf\":{\"@id\":\"https:\/\/samjwatkins.com\/blog\/?p=1061\"},\"author\":{\"name\":\"Sam J Watkins\",\"@id\":\"https:\/\/samjwatkins.com\/blog\/#\/schema\/person\/b001c9aecccd284b29f0d69e10c68af5\"},\"headline\":\"Shell power\",\"datePublished\":\"2014-02-04T09:09:27+00:00\",\"dateModified\":\"2014-02-04T09:13:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/samjwatkins.com\/blog\/?p=1061\"},\"wordCount\":350,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/samjwatkins.com\/blog\/?p=1061#primaryimage\"},\"thumbnailUrl\":\"http:\/\/samjwatkins.com\/blog\/wp-content\/uploads\/2014\/02\/a.png\",\"articleSection\":[\"Work\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/samjwatkins.com\/blog\/?p=1061#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/samjwatkins.com\/blog\/?p=1061\",\"url\":\"https:\/\/samjwatkins.com\/blog\/?p=1061\",\"name\":\"Shell power - Finding the chase and cutting to it\",\"isPartOf\":{\"@id\":\"https:\/\/samjwatkins.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/samjwatkins.com\/blog\/?p=1061#primaryimage\"},\"image\":{\"@id\":\"https:\/\/samjwatkins.com\/blog\/?p=1061#primaryimage\"},\"thumbnailUrl\":\"http:\/\/samjwatkins.com\/blog\/wp-content\/uploads\/2014\/02\/a.png\",\"datePublished\":\"2014-02-04T09:09:27+00:00\",\"dateModified\":\"2014-02-04T09:13:23+00:00\",\"author\":{\"@id\":\"https:\/\/samjwatkins.com\/blog\/#\/schema\/person\/b001c9aecccd284b29f0d69e10c68af5\"},\"breadcrumb\":{\"@id\":\"https:\/\/samjwatkins.com\/blog\/?p=1061#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/samjwatkins.com\/blog\/?p=1061\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/samjwatkins.com\/blog\/?p=1061#primaryimage\",\"url\":\"https:\/\/samjwatkins.com\/blog\/wp-content\/uploads\/2014\/02\/a.png\",\"contentUrl\":\"https:\/\/samjwatkins.com\/blog\/wp-content\/uploads\/2014\/02\/a.png\",\"width\":\"184\",\"height\":\"336\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/samjwatkins.com\/blog\/?p=1061#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/samjwatkins.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shell power\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/samjwatkins.com\/blog\/#website\",\"url\":\"https:\/\/samjwatkins.com\/blog\/\",\"name\":\"Finding the chase and cutting to it\",\"description\":\"A collection of thoughts, reactions and general comment\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/samjwatkins.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/samjwatkins.com\/blog\/#\/schema\/person\/b001c9aecccd284b29f0d69e10c68af5\",\"name\":\"Sam J Watkins\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/samjwatkins.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f17b5fe5ce9452eabf02f5a3336a2b0904c97885f140575db0a5fbb4188f136c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f17b5fe5ce9452eabf02f5a3336a2b0904c97885f140575db0a5fbb4188f136c?s=96&d=mm&r=g\",\"caption\":\"Sam J Watkins\"},\"description\":\"https:\/\/www.linkedin.com\/in\/sam-watkins-6564311\/\",\"sameAs\":[\"http:\/\/samjwatkins.com\"],\"url\":\"https:\/\/samjwatkins.com\/blog\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Shell power - Finding the chase and cutting to it","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/samjwatkins.com\/blog\/?p=1061","og_locale":"en_GB","og_type":"article","og_title":"Shell power - Finding the chase and cutting to it","og_description":"I first learnt to programme on a Commodore C64, and the way I used that computer was through what I now know is a command line interface or CLI.\u00a0 This interface is a shell between me and the fundamental operating system which allows me, the user, to read data off the storage and put them [&hellip;]","og_url":"https:\/\/samjwatkins.com\/blog\/?p=1061","og_site_name":"Finding the chase and cutting to it","article_published_time":"2014-02-04T09:09:27+00:00","article_modified_time":"2014-02-04T09:13:23+00:00","og_image":[{"width":184,"height":336,"url":"https:\/\/samjwatkins.com\/blog\/wp-content\/uploads\/2014\/02\/a.png","type":"image\/png"}],"author":"Sam J Watkins","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sam J Watkins","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/samjwatkins.com\/blog\/?p=1061#article","isPartOf":{"@id":"https:\/\/samjwatkins.com\/blog\/?p=1061"},"author":{"name":"Sam J Watkins","@id":"https:\/\/samjwatkins.com\/blog\/#\/schema\/person\/b001c9aecccd284b29f0d69e10c68af5"},"headline":"Shell power","datePublished":"2014-02-04T09:09:27+00:00","dateModified":"2014-02-04T09:13:23+00:00","mainEntityOfPage":{"@id":"https:\/\/samjwatkins.com\/blog\/?p=1061"},"wordCount":350,"commentCount":0,"image":{"@id":"https:\/\/samjwatkins.com\/blog\/?p=1061#primaryimage"},"thumbnailUrl":"http:\/\/samjwatkins.com\/blog\/wp-content\/uploads\/2014\/02\/a.png","articleSection":["Work"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/samjwatkins.com\/blog\/?p=1061#respond"]}]},{"@type":"WebPage","@id":"https:\/\/samjwatkins.com\/blog\/?p=1061","url":"https:\/\/samjwatkins.com\/blog\/?p=1061","name":"Shell power - Finding the chase and cutting to it","isPartOf":{"@id":"https:\/\/samjwatkins.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/samjwatkins.com\/blog\/?p=1061#primaryimage"},"image":{"@id":"https:\/\/samjwatkins.com\/blog\/?p=1061#primaryimage"},"thumbnailUrl":"http:\/\/samjwatkins.com\/blog\/wp-content\/uploads\/2014\/02\/a.png","datePublished":"2014-02-04T09:09:27+00:00","dateModified":"2014-02-04T09:13:23+00:00","author":{"@id":"https:\/\/samjwatkins.com\/blog\/#\/schema\/person\/b001c9aecccd284b29f0d69e10c68af5"},"breadcrumb":{"@id":"https:\/\/samjwatkins.com\/blog\/?p=1061#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/samjwatkins.com\/blog\/?p=1061"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/samjwatkins.com\/blog\/?p=1061#primaryimage","url":"https:\/\/samjwatkins.com\/blog\/wp-content\/uploads\/2014\/02\/a.png","contentUrl":"https:\/\/samjwatkins.com\/blog\/wp-content\/uploads\/2014\/02\/a.png","width":"184","height":"336"},{"@type":"BreadcrumbList","@id":"https:\/\/samjwatkins.com\/blog\/?p=1061#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/samjwatkins.com\/blog"},{"@type":"ListItem","position":2,"name":"Shell power"}]},{"@type":"WebSite","@id":"https:\/\/samjwatkins.com\/blog\/#website","url":"https:\/\/samjwatkins.com\/blog\/","name":"Finding the chase and cutting to it","description":"A collection of thoughts, reactions and general comment","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/samjwatkins.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/samjwatkins.com\/blog\/#\/schema\/person\/b001c9aecccd284b29f0d69e10c68af5","name":"Sam J Watkins","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/samjwatkins.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f17b5fe5ce9452eabf02f5a3336a2b0904c97885f140575db0a5fbb4188f136c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f17b5fe5ce9452eabf02f5a3336a2b0904c97885f140575db0a5fbb4188f136c?s=96&d=mm&r=g","caption":"Sam J Watkins"},"description":"https:\/\/www.linkedin.com\/in\/sam-watkins-6564311\/","sameAs":["http:\/\/samjwatkins.com"],"url":"https:\/\/samjwatkins.com\/blog\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/samjwatkins.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1061","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/samjwatkins.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/samjwatkins.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/samjwatkins.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/samjwatkins.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1061"}],"version-history":[{"count":9,"href":"https:\/\/samjwatkins.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1061\/revisions"}],"predecessor-version":[{"id":1075,"href":"https:\/\/samjwatkins.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1061\/revisions\/1075"}],"wp:attachment":[{"href":"https:\/\/samjwatkins.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1061"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/samjwatkins.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1061"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/samjwatkins.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1061"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}