Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Command Line Geeks?

Command Line Geeks?

Scheduled Pinned Locked Moved The Lounge
questioncomtoolslearning
25 Posts 21 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Blake Coverett

    I'm thinking about posting a handful of articles on tools only of interest to those of us who live in console windows. The question, of course, is whether it's worth it. How many of you live with one or more command prompts open and use them for a significant part of your work? Certainly this has faded out over the years - are there any younger than say 35-40 who do this? -- -Blake (com/bcdev/blake)

    M Offline
    M Offline
    Mike Ellison
    wrote on last edited by
    #12

    I still use the command line and batch files a lot. I put up an article an a command line utility for sending email - http://www.codeproject.com/csharp/CpCommandLineEmailer.asp Check it out and let me know what you think.

    1 Reply Last reply
    0
    • B Blake Coverett

      I'm thinking about posting a handful of articles on tools only of interest to those of us who live in console windows. The question, of course, is whether it's worth it. How many of you live with one or more command prompts open and use them for a significant part of your work? Certainly this has faded out over the years - are there any younger than say 35-40 who do this? -- -Blake (com/bcdev/blake)

      D Offline
      D Offline
      David Stone
      wrote on last edited by
      #13

      I use the command line all the time...and I'm 16. Does that count? :-D


      When I can talk about 64 bit processors and attract girls with my computer not my car, I'll come out of the closet. Until that time...I'm like "What's the ENTER key?" -Hockey on being a geek

      1 Reply Last reply
      0
      • B Blake Coverett

        I'm thinking about posting a handful of articles on tools only of interest to those of us who live in console windows. The question, of course, is whether it's worth it. How many of you live with one or more command prompts open and use them for a significant part of your work? Certainly this has faded out over the years - are there any younger than say 35-40 who do this? -- -Blake (com/bcdev/blake)

        J Offline
        J Offline
        J Dunlap
        wrote on last edited by
        #14

        I use the command line quite a bit, although I can't say I keep it open all the time. I'd be interested in learning about command line tricks, etc.

        **"What lies behind us and what lies before us are small matters compared to what lies within us." -- Ralph Waldo Emerson

        FLUID UI Toolkit | FloodFill in C# & GDI+**

        1 Reply Last reply
        0
        • B Blake Coverett

          I'm thinking about posting a handful of articles on tools only of interest to those of us who live in console windows. The question, of course, is whether it's worth it. How many of you live with one or more command prompts open and use them for a significant part of your work? Certainly this has faded out over the years - are there any younger than say 35-40 who do this? -- -Blake (com/bcdev/blake)

          L Offline
          L Offline
          leppie
          wrote on last edited by
          #15

          $bash here :) leppie::AllocCPArticle("Zee blog");
          Seen on my Campus BBS: Linux is free...coz no-one wants to pay for it.

          1 Reply Last reply
          0
          • B Blake Coverett

            I'm thinking about posting a handful of articles on tools only of interest to those of us who live in console windows. The question, of course, is whether it's worth it. How many of you live with one or more command prompts open and use them for a significant part of your work? Certainly this has faded out over the years - are there any younger than say 35-40 who do this? -- -Blake (com/bcdev/blake)

            M Offline
            M Offline
            Mike Dimmick
            wrote on last edited by
            #16

            Well, I guess you know this after the thread in the OS/Admin forum, but I use CMD quite a bit. I also use the [Win]+[R] key combination quite a lot - it can be easier to type what I'm looking for than to locate it. Annoyances: you can type 'My Documents' into the address bar in Explorer or IE, but it doesn't work from Start > Run. Most of my automated build scripts consist of batch files - including one I'm fairly proud of that builds two primary interop assemblies with space for signing, rebases the resulting DLLs then signs them. I think the reason Unix admins are so fond of the command line is that, well, for a lot of them there's no other way to do it. You can capture a sequence of commands as a script, then run that script everywhere you need to perform those operations. For Windows, there are still many things (even after Windows Server 2003, which has many more command-line tools) that can't be done from a command line but which can from the GUI. They're often exposed as scriptable objects (e.g. WMI) but there isn't an easy way to go from there (i.e. the GUI) to here (a WMI script). That is, the scripting solution is too far divorced from the regular mode of operation - if you want to script something, you have to learn a completely different way of doing it. Personally I find the GUIs easier the first few times, but then I'll start looking for the command line. net start mssqlserver is quicker than [Win]+[R], services.msc, browse to SQL Server, hit Start. Having said that, net start doesn't list available services, you have to know them. I can never remember the FTP server's service name. To list services, you have to use sc.exe, one of the least friendly tools I've ever used... I find it helpful to know the file names for some of the predefined consoles in Windows 2000 and XP. For example, Group Policy editor (which lets you set up privileges) is gpedit.msc, and Device Manager is devmgmt.msc. Of course Windows - on a Microsoft network - has Group Policy, which automatically applies settings from the domain controller at system startup and logon. So there's a bit less need for logon scripts and applying scripts to each system individually.

            1 Reply Last reply
            0
            • B Blake Coverett

              I'm thinking about posting a handful of articles on tools only of interest to those of us who live in console windows. The question, of course, is whether it's worth it. How many of you live with one or more command prompts open and use them for a significant part of your work? Certainly this has faded out over the years - are there any younger than say 35-40 who do this? -- -Blake (com/bcdev/blake)

              I Offline
              I Offline
              Ian Darling
              wrote on last edited by
              #17

              Yup, I even have the CP command explorer bar thingy installed :-) CTRL-M is my hero. Plus I almost always go to any directories in explorer by doing [WIN]->R and then typing in the path :-D This goes double for "desktop", which is quicker than finding that Show Desktop icon, clicking it, and then waiting 5 years for all the apps to minimize! I share Mike's comment that "My Documents" should be usable. The workaround I've used in the past is to stick a shortcut to that folder in the %WINDIR% directory, called the appropriate thing. -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky

              1 Reply Last reply
              0
              • B Blake Coverett

                I'm thinking about posting a handful of articles on tools only of interest to those of us who live in console windows. The question, of course, is whether it's worth it. How many of you live with one or more command prompts open and use them for a significant part of your work? Certainly this has faded out over the years - are there any younger than say 35-40 who do this? -- -Blake (com/bcdev/blake)

                J Offline
                J Offline
                Jorgen Sigvardsson
                wrote on last edited by
                #18

                I'm 28, and I use it every now and then. I don't use it as much as I did during the DOS days though. I wish it had the same capabilities such as some of the UNIX shells does. Maybe I should download 4NT.. Hmm. -- Yeah well, my daddy can beat up your daddy!

                1 Reply Last reply
                0
                • D Daniel Turini

                  Unless you want to start a religous war, like me


                  Help me dominate the world - click this link and my army will grow

                  J Offline
                  J Offline
                  Jorgen Sigvardsson
                  wrote on last edited by
                  #19

                  Geez! What an idiot.. I guess he never learnt the power of composition of commands. Piping, redirection of in/output streams, and substitutions are VERY powerful things indeed, that NO GUI could ever match (at least not with respect to usability and efficiency). -- Yeah well, my daddy can beat up your daddy!

                  1 Reply Last reply
                  0
                  • M Michael Dunn

                    Yes! I can't live without 4NT[^]. The filename completion and lots of extra built-in commands make life a lot easier. Heck, I even still have the DOS NU tools in my path (like ts - text search in file). They don't show LFNs but I don't care. ;) I think you need to lower your age guess to 25 though. ;P --Mike-- Ericahist | CP SearchBar v2.0.2 | Homepage | RightClick-Encrypt | 1ClickPicGrabber #include "witty-quote.h"

                    J Offline
                    J Offline
                    Jorgen Sigvardsson
                    wrote on last edited by
                    #20

                    Wow. I just looked up 4NT and discovered that it costs money. Has it always been like that? IIRC, 4DOS was shareware on DOS (some features disabled). -- Yeah well, my daddy can beat up your daddy!

                    M 1 Reply Last reply
                    0
                    • M Michael Dunn

                      Yes! I can't live without 4NT[^]. The filename completion and lots of extra built-in commands make life a lot easier. Heck, I even still have the DOS NU tools in my path (like ts - text search in file). They don't show LFNs but I don't care. ;) I think you need to lower your age guess to 25 though. ;P --Mike-- Ericahist | CP SearchBar v2.0.2 | Homepage | RightClick-Encrypt | 1ClickPicGrabber #include "witty-quote.h"

                      T Offline
                      T Offline
                      Thomas Freudenberg
                      wrote on last edited by
                      #21

                      Michael Dunn wrote: Yes! I can't live without 4NT[^]. Me, too. Additionally, I have defined myriads of aliases to easen my daily work. Regards Thomas


                      Disclaimer:
                      Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.

                      1 Reply Last reply
                      0
                      • J Jorgen Sigvardsson

                        Wow. I just looked up 4NT and discovered that it costs money. Has it always been like that? IIRC, 4DOS was shareware on DOS (some features disabled). -- Yeah well, my daddy can beat up your daddy!

                        M Offline
                        M Offline
                        Michael Dunn
                        wrote on last edited by
                        #22

                        It's always been payware as long as I can remember. --Mike-- Ericahist | CP SearchBar v2.0.2 | Homepage | RightClick-Encrypt | 1ClickPicGrabber "That probably would've sounded more commanding if I wasn't wearing my yummy sushi pajamas."   -- Buffy

                        1 Reply Last reply
                        0
                        • B Blake Coverett

                          I'm thinking about posting a handful of articles on tools only of interest to those of us who live in console windows. The question, of course, is whether it's worth it. How many of you live with one or more command prompts open and use them for a significant part of your work? Certainly this has faded out over the years - are there any younger than say 35-40 who do this? -- -Blake (com/bcdev/blake)

                          J Offline
                          J Offline
                          John M Drescher
                          wrote on last edited by
                          #23

                          Blake Coverett wrote: How many of you live with one or more command prompts open and use them for a significant part of your work? Certainly this has faded out over the years - are there any younger than say 35-40 who do this? I do and I am 31, however I have been programming since I was 8. I always have several 4nt windows open and I do most of my batch builds from there. I modified the vc autobuild sample so that I can batch build VC6 workspaces from the command line. There are also many things that are much faster from the command line like deleting files or how about a recursively deleting all .bak files in a tree. Thats quite a pain in the GUI and simple in the command window. Also I think of the times I need to process 100,000 or more medical images in a batch. Doing this with the GUI is very slow and cumbersome... I can write a one or two line 4nt script to execute all I need and if the parameters change I can repeat the whole batch with a new set of parameters. John

                          1 Reply Last reply
                          0
                          • D Daniel Turini

                            Unless you want to start a religous war, like me


                            Help me dominate the world - click this link and my army will grow

                            D Offline
                            D Offline
                            dandy72
                            wrote on last edited by
                            #24

                            > Unless you want to start a religous war, like me Damn. I remember this one. The only time I had a pissing contest on CP, I think... :~

                            1 Reply Last reply
                            0
                            • D Daniel Turini

                              Unless you want to start a religous war, like me


                              Help me dominate the world - click this link and my army will grow

                              A Offline
                              A Offline
                              Andy Brummer
                              wrote on last edited by
                              #25

                              I just have to add that I find it ironic that any programmer could have such a dim view of the command console. I a very high level, but definitely real sense all programs are just glorified batch scripts compiled into binary form. I've seen a few pure GUI based scripting tools out there and I can't think of one of them that has caught on to the same level as all these "old" text based programming languages. Seriously, a script or command line interface gives the user a level of automation flexability that a graphical interface can't match. The whole advantage of the GUI is that it presents a subset of possible user interactions in a clear easy to interpret screen. It's limit is that there is a finte amount of space which limits the number of commands presented to the user.

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups