{"id":2031,"date":"2015-05-17T02:11:42","date_gmt":"2015-05-17T02:11:42","guid":{"rendered":"http:\/\/www.gssezisoft.com\/main\/?page_id=2031"},"modified":"2017-01-27T02:34:38","modified_gmt":"2017-01-27T02:34:38","slug":"guicmd","status":"publish","type":"page","link":"http:\/\/www.gssezisoft.com\/main\/guicmd\/","title":{"rendered":"GuiCmd"},"content":{"rendered":"<p><img src=\"http:\/\/www.gssezisoft.com\/Products\/GuiCmd\/Images\/icon-180x180.png\" alt=\"GuiCmd\" class=\"alignleft\" \/><br \/>\n<strong>Would you like the benefits of both the command line and a GUI?<\/strong><\/p>\n<div style=\"clear:both\">&nbsp;<\/div>\n<p>The command line is very versatile. You can tell it to do almost anything. BUT, it is a pain in the neck at times:<\/p>\n<ul>\n<li>You have to enter long sequences of characters to tell it exactly where things are.<\/li>\n<li>You have to configure the PATH variable.<\/li>\n<li>You have to type in lots of parameters.<\/li>\n<\/ul>\n<p>The GUI (Graphical User Interface) is easy to use: pick this, run that, etc. BUT:<\/p>\n<ul>\n<li>It is really limited in what you can do.<\/li>\n<li>Unless you manually add lots of options to the right-click menu.<\/li>\n<li>Even if you do, you can&#8217;t change your mind for &#8220;this one&#8221;.<\/li>\n<\/ul>\n<p>Versatile. Or easy. I wanted both.<\/p>\n<h2>GuiCmd<\/h2>\n<p>GuiCmd is a mix of both, with some extras blended in. You can type a command line and click the Run button (or just press ENTER).<\/p>\n<p>You can pick programs or files or directories from a GUI and have it type the path in for you. You can specify (or change) any option. It even remembers where your favorite programs are. And it remembers your favorite options too.<\/p>\n<h2>Pick Files or Directories<\/h2>\n<p>Imagine being able to type a command line and, when you get to a path, just click &#8220;File, Add Directory&#8221; or &#8220;File, Add File&#8221;. Pick the one you mean, and keep typing.<\/p>\n<h2>Know before you Go<\/h2>\n<p>Add options before the path, after the path, or both. As many as you need, in any order you need. Review what you&#8217;ve got, change anything you want, and when you&#8217;re ready click Run (or press ENTER). That&#8217;s a lot easier.<\/p>\n<h2>The PATH variable<\/h2>\n<p>If you&#8217;ve used the Cmd prompt a bit before now you&#8217;ll know about the PATH variable. That determines where Windows looks for programs. It was a great idea at the time and it IS really useful. You don&#8217;t have to know where you installed a program. Windows&#8217;ll just go and find it for you. There are a few catches though:<\/p>\n<ul>\n<li>You have to have included the install directory in the PATH.<\/li>\n<li>There mustn&#8217;t be another program with the same name earlier in the PATH.<\/li>\n<li>There are two different PATH variables (system and user).<\/li>\n<\/ul>\n<p>One of the less obvious catches is how long it takes to find the program. Have you ever entered a command, hit ENTER and had it just sit there? That&#8217;s Windows going looking. You know you mean Adobe Photoshop or the GNU C Compiler; but Windows doesn&#8217;t. It goes through every directory in the PATH to find what you mean &#8211; even if you just ran the program 5 minutes ago. If the program is in a directory at the end of the path, it has to look through every other directory first.<\/p>\n<p>The idea is good. It worked really well in the past. It still works today even though we all have much bigger computers with lots more storage and lots more programs installed to do lots more things.<\/p>\n<p>GuiCmd uses a much older technique that is simpler, easier and which actually works better. It surprised me when I realized it. The simplicity is this: rather than going looking through a lot of directories for a specific program, why not just have a list of programs? I&#8217;m sure you have a lot of programs. I do too. But &#8220;gcc&#8221; means a specific program in a specific directory for me (maybe for you too, though your directory may be different). Looking through every file in every possible executable directory is a lot slower than reading through one list of programs.<\/p>\n<p>Won&#8217;t it take forever to setup that list? Won&#8217;t it be impossible to keep it up to date? No and No.<\/p>\n<p>Again, it&#8217;s real easy. GuiCmd isn&#8217;t taking anything away. If it runs now it&#8217;ll run with GuiCmd. If you&#8217;d like to make something easier to run just add that command and your favorite options to GuiCmd&#8217;s &#8220;intrinsics&#8221; list. You type the command (eg gcc) and it knows what you mean (eg c:\\mingw\\bin\\gcc.exe -O3 &#8230; -std=c99 -l&#8230;).<\/p>\n<h2>Extras<\/h2>\n<p>There are times when I need to put the current date or time (or both) into a file name. Different people have different preferences for the format for this sort of thing. As a result, GuiCmd understands the current date and time and can insert this (in most formats) into any part of a command line for you. You can also add it into an intrinsic line and it&#8217;ll just timestamp those bits for you every time.<\/p>\n<p>Ever wish the programmer had called a program by a better name? I think &#8220;CmdTwain&#8221; is aptly named but others may think &#8220;scan&#8221; or &#8220;scandoc&#8221; would have been an easier name to remember. Well GuiCmd will allow you to name things what you want without changing any existing program file names.<\/p>\n<p>Mainly for demonstration, GuiCmd comes with &#8220;scan&#8221; meaning run CmdTwain from the default location and save the result in your documents folder. (It is set up for Vista \/ 7 \/ 8. You should change it to use &#8220;My Documents&#8221; if you&#8217;re using Win XP). You&#8217;d need a copy of CmdTwain to try it, but you don&#8217;t have to try it and the point is for you to configure it for what you want. All of the intrinsic commands are editable in Notepad. GuiCmd even has an option which opens the list in Notepad for you.<\/p>\n<p>Ever wished you could do a &#8220;dir&#8221; and get the result in Notepad? Also mainly for demonstration, type dirlst in GuiCmd and you&#8217;ll get it. Or use &#8220;dirlst c:\\&#8221; or &#8220;dirlst&#8221; and click File \/ Add Directory.<\/p>\n<h1>What Does It Cost?<\/h1>\n<p>Nothing. It&#8217;s another of my freebies. You can use it yourself, use it with or in your own programs, give it away, or sell it to others if you like.<\/p>\n<p>If you sell it, you are required by the license to give me 10%. You don&#8217;t have to pay a dime if you give the software away and charge a customer for installing it or supporting it.<\/p>\n<p>The intent here is really about you making 90% affiliate commision if you on-sell it and you being able to choose a price that suits your market.<\/p>\n<h1>Where Do I Get It?<\/h1>\n<p>Right here:<\/p>\n<p><center><br \/>\n<a class=\"buy-button\" href=\"http:\/\/www.gssezisoft.com\/download\/1000010000\/GuiCmd\/GuiCmd-Install.exe\"><span>GET IT NOW<\/span><\/a><br \/>\n<\/center><\/p>\n<h1>More Information<\/h1>\n<p>Read the frequently asked questions: <a href=\"http:\/\/www.gssezisoft.com\/main\/guicmd-faqs\/\">FAQs<\/a>.<\/p>\n<ul class=\"ess-buttons ess-buttons--text\">\n<li>\t\t<a class=\"ess-button ess-button--facebook\"\n\t\t\thref=\"https:\/\/www.facebook.com\/dialog\/feed?app_id=1699366990355594&amp;display=popup&amp;caption=GuiCmd&amp;link=http%3A%2F%2Fwww.gssezisoft.com%2Fmain%2Fguicmd%2F&amp;description=%0D%0AWould%20you%20like%20the%20benefits%20of%20both%20the%20command%20line%20and%20a%20GUI%3F%0D%0A%26nbsp%3B%0D%0A%0D%0AThe%20command%20line%20is%20very%20versatile.%20You%20can%20tell%20it%20to%20do%20almost%20anything.%20BUT%2C%20it%20is%20a%20pain%20in%20the%20neck%20at%20%E2%80%A6&amp;redirect_uri=http%3A%2F%2Fwww.gssezisoft.com%2Fmain%2Fguicmd%2F\"\n\t\t\tonclick=\"window.open(this.href, 'facebookwindow','left=20,top=20,width=600,height=700,toolbar=0,resizable=1'); return false;\"\n\t\t\ttitle=\"Share on Facebook\"\n\t\t\ttarget=\"_blank\">\n\t\t\t<div class=\"ess-button-inner\">\n\t\t\t\t<svg class=\"ess-icon\"\n\t\t\t\t\tversion=\"1.1\"\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\txmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\"\n\t\t\t\t\tviewBox=\"0 0 1024 1024\">\n\t\t\t\t\t<path d=\"M853.35 0h-682.702c-94.25 0-170.648 76.42-170.648 170.686v682.63c0 94.266 76.398 170.684 170.648 170.684h341.352v-448h-128v-128h128v-96c0-88.366 71.634-160 160-160h160v128h-160c-17.674 0-32 14.328-32 32v96h176l-32 128h-144v448h213.35c94.25 0 170.65-76.418 170.65-170.684v-682.63c0-94.266-76.4-170.686-170.65-170.686z\"><\/path>\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"ess-share-text\">Share<\/span>\n\t\t\t<\/div>\n\n\t\t\t\n\t\t\t\n\t\t<\/a>\n\t\t<\/li>\n<li>\t\t<a class=\"ess-button ess-button--twitter\"\n\t\t\thref=\"http:\/\/twitter.com\/intent\/tweet?text=GuiCmd%20http%3A%2F%2Fwww.gssezisoft.com%2Fmain%2Fguicmd%2F\"\n\t\t\tonclick=\"window.open(this.href, 'twitterwindow','left=20,top=20,width=600,height=300,toolbar=0,resizable=1'); return false;\"\n\t\t\ttitle=\"Tweet\"\n\t\t\ttarget=\"_blank\">\n\t\t\t<div class=\"ess-button-inner\">\n\t\t\t\t<svg class=\"ess-icon\"\n\t\t\t\t\tversion=\"1.1\"\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\txmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\"\n\t\t\t\t\tviewBox=\"0 0 1024 1024\">\n\t\t\t\t\t<path d=\"M1024 194.418c-37.676 16.708-78.164 28.002-120.66 33.080 43.372-26 76.686-67.17 92.372-116.23-40.596 24.078-85.556 41.56-133.41 50.98-38.32-40.83-92.922-66.34-153.346-66.34-116.022 0-210.088 94.058-210.088 210.078 0 16.466 1.858 32.5 5.44 47.878-174.6-8.764-329.402-92.4-433.018-219.506-18.084 31.028-28.446 67.116-28.446 105.618 0 72.888 37.088 137.192 93.46 174.866-34.438-1.092-66.832-10.542-95.154-26.278-0.020 0.876-0.020 1.756-0.020 2.642 0 101.788 72.418 186.696 168.522 206-17.626 4.8-36.188 7.372-55.348 7.372-13.538 0-26.698-1.32-39.528-3.772 26.736 83.46 104.32 144.206 196.252 145.896-71.9 56.35-162.486 89.934-260.916 89.934-16.958 0-33.68-0.994-50.116-2.94 92.972 59.61 203.402 94.394 322.042 94.394 386.422 0 597.736-320.124 597.736-597.744 0-9.108-0.206-18.168-0.61-27.18 41.056-29.62 76.672-66.62 104.836-108.748z\"><\/path>\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"ess-share-text\">Tweet<\/span>\n\t\t\t<\/div>\n\n\t\t\t\n\t\t\t\n\t\t<\/a>\n\t\t<\/li>\n<li>\t\t<a class=\"ess-button ess-button--gplus\"\n\t\t\thref=\"https:\/\/plus.google.com\/share?url=http:\/\/www.gssezisoft.com\/main\/guicmd\/\"\n\t\t\tonclick=\"window.open(this.href,'googlepluswindow', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\"\n\t\t\ttitle=\"Share on Google\"\n\t\t\ttarget=\"_blank\">\n\t\t\t<div class=\"ess-button-inner\">\n\t\t\t\t<svg class=\"ess-icon\"\n\t\t\t\t\tversion=\"1.1\"\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\txmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\"\n\t\t\t\t\tviewBox=\"0 0 1024 1024\">\n\t\t\t\t\t<path d=\"M559.066 64c0 0-200.956 0-267.94 0-120.12 0-233.17 91.006-233.17 196.422 0 107.726 81.882 194.666 204.088 194.666 8.498 0 16.756-0.17 24.842-0.752-7.93 15.186-13.602 32.288-13.602 50.042 0 29.938 16.104 54.21 36.468 74.024-15.386 0-30.242 0.448-46.452 0.448-148.782-0.002-263.3 94.758-263.3 193.020 0 96.778 125.542 157.314 274.334 157.314 169.624 0 263.306-96.244 263.306-193.028 0-77.6-22.896-124.072-93.686-174.134-24.216-17.144-70.53-58.836-70.53-83.344 0-28.72 8.196-42.868 51.428-76.646 44.312-34.624 75.672-83.302 75.672-139.916 0-67.406-30.020-133.098-86.372-154.772h84.954l59.96-43.344zM465.48 719.458c2.126 8.972 3.284 18.206 3.284 27.628 0 78.2-50.392 139.31-194.974 139.31-102.842 0-177.116-65.104-177.116-143.3 0-76.642 92.126-140.444 194.964-139.332 24 0.254 46.368 4.116 66.67 10.69 55.826 38.826 95.876 60.762 107.172 105.004zM300.818 427.776c-69.038-2.064-134.636-77.226-146.552-167.86-11.916-90.666 34.37-160.042 103.388-157.99 69.010 2.074 134.638 74.814 146.558 165.458 11.906 90.66-34.39 162.458-103.394 160.392zM832 256v-192h-64v192h-192v64h192v192h64v-192h192v-64z\"><\/path>\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"ess-share-text\">Share<\/span>\n\t\t\t<\/div>\n\n\t\t\t\n\t\t\t\n\t\t<\/a>\n\t\t<\/li>\n<li>\t\t<a class=\"ess-button ess-button--pinterest\"\n\t\t\thref=\"http:\/\/pinterest.com\/pin\/create\/bookmarklet\/?media=&amp;url=http%3A%2F%2Fwww.gssezisoft.com%2Fmain%2Fguicmd%2F&amp;is_video=false&amp;description=GuiCmd%20-%20%0D%0AWould%20you%20like%20the%20benefits%20of%20both%20the%20command%20line%20and%20a%20GUI%3F%0D%0A%26nbsp%3B%0D%0A%0D%0AThe%20command%20line%20is%20very%20versatile.%20You%20can%20tell%20it%20to%20do%20almost%20anything.%20BUT%2C%20it%20is%20a%20pain%20in%20the%20neck%20at%20%E2%80%A6\"\n\t\t\tonclick=\"window.open(this.href, 'pinterestwindow','left=20,top=20,width=750,height=750,toolbar=0,resizable=1');return false;\"\n\t\t\ttitle=\"Pin\"\n\t\t\ttarget=\"_blank\">\n\t\t\t<div class=\"ess-button-inner\">\n\t\t\t\t<svg class=\"ess-icon\"\n\t\t\t\t\tversion=\"1.1\"\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\txmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\"\n\t\t\t\t\tviewBox=\"0 0 1024 1024\">\n\t\t\t\t\t<path d=\"M512.006 0.002c-282.774 0-512.006 229.23-512.006 511.996 0 216.906 134.952 402.166 325.414 476.772-4.478-40.508-8.518-102.644 1.774-146.876 9.298-39.954 60.040-254.5 60.040-254.5s-15.32-30.664-15.32-76.008c0-71.19 41.268-124.336 92.644-124.336 43.68 0 64.784 32.794 64.784 72.12 0 43.928-27.964 109.604-42.404 170.464-12.060 50.972 25.556 92.536 75.814 92.536 91.008 0 160.958-95.96 160.958-234.466 0-122.584-88.088-208.298-213.868-208.298-145.678 0-231.186 109.274-231.186 222.19 0 44.008 16.95 91.196 38.102 116.844 4.182 5.070 4.792 9.516 3.548 14.68-3.884 16.18-12.522 50.96-14.216 58.076-2.234 9.368-7.422 11.356-17.124 6.842-63.95-29.77-103.926-123.264-103.926-198.348 0-161.51 117.348-309.834 338.294-309.834 177.61 0 315.634 126.56 315.634 295.704 0 176.458-111.256 318.466-265.676 318.466-51.886 0-100.652-26.958-117.35-58.796 0 0-25.672 97.766-31.894 121.71-11.564 44.468-42.768 100.218-63.642 134.226 47.91 14.832 98.818 22.832 151.604 22.832 282.768-0.002 511.996-229.23 511.996-512 0-282.766-229.228-511.996-511.994-511.996z\"><\/path>\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"ess-share-text\">Pin<\/span>\n\t\t\t<\/div>\n\n\t\t\t\n\t\t\t\n\t\t<\/a>\n\t\t<\/li>\n<li>\t\t<a class=\"ess-button ess-button--email\"\n\t\t\thref=\"mailto:?subject=GuiCmd&amp;body=%0D%0AWould%20you%20like%20the%20benefits%20of%20both%20the%20command%20line%20and%20a%20GUI%3F%0D%0A%26nbsp%3B%0D%0A%0D%0AThe%20command%20line%20is%20very%20versatile.%20You%20can%20tell%20it%20to%20do%20almost%20anything.%20BUT%2C%20it%20is%20a%20pain%20in%20the%20neck%20at%20%E2%80%A6%20http%3A%2F%2Fwww.gssezisoft.com%2Fmain%2Fguicmd%2F\"\n\t\t\tonclick=\"\"\n\t\t\ttitle=\"Email\"\n\t\t\ttarget=\"_blank\">\n\t\t\t<div class=\"ess-button-inner\">\n\t\t\t\t<svg class=\"ess-icon\"\n\t\t\t\t\tversion=\"1.1\"\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\txmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\"\n\t\t\t\t\tviewBox=\"0 0 1024 1024\">\n\t\t\t\t\t<path d=\"M928 128h-832c-52.8 0-96 43.2-96 96v640c0 52.8 43.2 96 96 96h832c52.8 0 96-43.2 96-96v-640c0-52.8-43.2-96-96-96zM398.74 550.372l-270.74 210.892v-501.642l270.74 290.75zM176.38 256h671.24l-335.62 252-335.62-252zM409.288 561.698l102.712 110.302 102.71-110.302 210.554 270.302h-626.528l210.552-270.302zM625.26 550.372l270.74-290.75v501.642l-270.74-210.892z\"><\/path>\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"ess-share-text\">Email<\/span>\n\t\t\t<\/div>\n\n\t\t\t\n\t\t\t\n\t\t<\/a>\n\t\t<\/li>\n<\/ul>\n\n","protected":false},"excerpt":{"rendered":"<p>Would you like the benefits of both the command line and a GUI? &nbsp; The command line is very versatile. You can tell it to do almost anything. BUT, it is a pain in the neck at times: You have to enter long sequences of characters to tell it exactly where things are. You have &hellip; <a href=\"http:\/\/www.gssezisoft.com\/main\/guicmd\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">GuiCmd<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/www.gssezisoft.com\/main\/wp-json\/wp\/v2\/pages\/2031"}],"collection":[{"href":"http:\/\/www.gssezisoft.com\/main\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.gssezisoft.com\/main\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.gssezisoft.com\/main\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gssezisoft.com\/main\/wp-json\/wp\/v2\/comments?post=2031"}],"version-history":[{"count":2,"href":"http:\/\/www.gssezisoft.com\/main\/wp-json\/wp\/v2\/pages\/2031\/revisions"}],"predecessor-version":[{"id":2346,"href":"http:\/\/www.gssezisoft.com\/main\/wp-json\/wp\/v2\/pages\/2031\/revisions\/2346"}],"wp:attachment":[{"href":"http:\/\/www.gssezisoft.com\/main\/wp-json\/wp\/v2\/media?parent=2031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}