a better command line on Windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #31
    Originally posted by Killer42
    As I read it I was thinking "who got up on the wrong side of the bed this morning?" :)

    I guess we all have our good and bad days.
    The funny thing is that I smile at this type of back-and-forth and don't take it at all personlly. So there is absolutely no appology necessary. I really like the console that I am using (though I don't use it often) and simply wanted others to know that there were options. (Plus, at the time, I really needed to get my post count up) <snicker>.

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #32
      Originally posted by bartonc
      The funny thing is that I smile at this type of back-and-forth and don't take it at all personlly. So there is absolutely no appology necessary. I really like the console that I am using (though I don't use it often) and simply wanted others to know that there were options. (Plus, at the time, I really needed to get my post count up) <snicker>.
      Yeah, it's really a shame when some people do take these things very personally, and seriously. Brings down the whole tone of the place.

      That's why so many discussion boards descend into never-ending flame wars, I'd say. It's like a family feud, in a way. After a while nobody remembers what triggered it - just gotta get revenge on those <bleep>s for taking revenge on me for my revenge attack... and so on.

      Quite sad, really. But of course we're all more intelligent than that. :)

      Comment

      • NeoPa
        Recognized Expert Moderator MVP
        • Oct 2006
        • 32633

        #33
        Originally posted by Killer42
        Quite sad, really. But of course we're all more intelligent than that. :)
        I wish :embarrassed:

        Comment

        • bartonc
          Recognized Expert Expert
          • Sep 2006
          • 6478

          #34
          Originally posted by NeoPa
          I wish :embarrassed:
          I'm touched at your concern. Thanks buddy.

          Comment

          • bartonc
            Recognized Expert Expert
            • Sep 2006
            • 6478

            #35
            Originally posted by bartonc
            Nope. I lied. I just tried it (it works like DOS). The thing it does do is start in the directory (and has tabs so there can be many) that I want it to.
            I've discovered a solution to this: Create a shortcut to cmd.exe and modify the "start in" property.
            Why didn't anybody tell me about this?

            Comment

            • Killer42
              Recognized Expert Expert
              • Oct 2006
              • 8429

              #36
              Originally posted by bartonc
              I've discovered a solution to this: Create a shortcut to cmd.exe and modify the "start in" property.
              Why didn't anybody tell me about this?
              Um... you didn't ask? :)

              I have used this technique, but its usefulness is somewhat limited by the fact that you need to specifically create a shortcut for whichever folder you're interested in. You'd be better off looking up the registry mod which allows you to right-click a folder and "start DOS here".

              Comment

              • bartonc
                Recognized Expert Expert
                • Sep 2006
                • 6478

                #37
                Originally posted by Killer42
                Um... you didn't ask? :)

                I have used this technique, but its usefulness is somewhat limited by the fact that you need to specifically create a shortcut for whichever folder you're interested in. You'd be better off looking up the registry mod which allows you to right-click a folder and "start DOS here".
                Cool, Killer. I've got a book full of registry mods. Could be in there. Generally, though, I'm only working on one big project at a time so the icon thing works pretty well. Thanks for the tip.

                Comment

                • NeoPa
                  Recognized Expert Moderator MVP
                  • Oct 2006
                  • 32633

                  #38
                  Killer beat me to the no-one asked response ;)
                  Your answer seems to be right though Barton - for your situation. We all have to remember sometimes, that requirements vary so much for different situations that brilliant answers are sometimes inappropriate for someone else's situation - or even just overkill.
                  It's nice to know there are so many solutions out there though, and even better IMHO, that we have so many experts that know about them in TheScripts :)

                  Comment

                  • bartonc
                    Recognized Expert Expert
                    • Sep 2006
                    • 6478

                    #39
                    Originally posted by NeoPa
                    It's nice to know there are so many solutions out there though, and even better IMHO, that we have so many experts that know about them in TheScripts :)
                    Both SO true. TSDN is an awesome resource, even for the "experts" themselves!

                    Comment

                    • bartonc
                      Recognized Expert Expert
                      • Sep 2006
                      • 6478

                      #40
                      Originally posted by Killer42
                      You'd be better off looking up the registry mod which allows you to right-click a folder and "start DOS here".
                      . Start > Run > regedit
                      . open HKEY_LOCAL_MACH INE/Software/Classes/Folder/Shell
                      . right-click on Shell > New > Key
                      . name it Command Prompt (or anything you think is descriptive for yourself)
                      . in the right frame, for the default value, of the Command Prompt key you jsut made, enter whatever text you want to appear in the context menu (e.g. Open Command Prompt Here -or- Commaaaaaannnd! )
                      . back in the left frame, right-click Command Prompt (or whatever you called it) > New > Key
                      . name this sub-key command [it must be named command to work]
                      . in the right frame of command, set the default value to Cmd.exe /k pushd %L

                      the last step will launch Cmd.exe; the /k switch will keep it open; the pushd command stores the name of the current directory, and %L uses that name to start the command prompt at it. this method will work instantly, only on folders, NOT files

                      Comment

                      • Cyberdyne
                        Recognized Expert Contributor
                        • Sep 2006
                        • 627

                        #41
                        Very interesting thanks for sharing, I always get frustrated when running a command from run and having it pop up for a second and then disappear.

                        Regards, Cyberdyne

                        Comment

                        • NeoPa
                          Recognized Expert Moderator MVP
                          • Oct 2006
                          • 32633

                          #42
                          I use a Command Prompt shortcut (Always to Cmd.Exe) saved in my Quick Launch Toolbar.

                          Comment

                          • Killer42
                            Recognized Expert Expert
                            • Oct 2006
                            • 8429

                            #43
                            Originally posted by NeoPa
                            I use a Command Prompt shortcut (Always to Cmd.Exe) saved in my Quick Launch Toolbar.
                            I just hit the (standard) shortcut key to invoke "Run" then type "CMD" and [Enter]. I find it's quicker than going to the mouse, and not worth cluttering up the quick-launch bar for. But it's annoying how it always starts in the same place.

                            I'll probably set up the "DOS here" option, when I get a minute.

                            Comment

                            • Cyberdyne
                              Recognized Expert Contributor
                              • Sep 2006
                              • 627

                              #44
                              Yeah for sure, I use the windows run command as well, I wish windows had a combination of keys to launch cmd automatically. I have done it with one of my logitech keyboards that lets me assign special keys, but I am saying more like hitting windows d or something.

                              Comment

                              • Killer42
                                Recognized Expert Expert
                                • Oct 2006
                                • 8429

                                #45
                                Originally posted by Cyberdyne
                                Yeah for sure, I use the windows run command as well, I wish windows had a combination of keys to launch cmd automatically. I have done it with one of my logitech keyboards that lets me assign special keys, but I am saying more like hitting windows d or something.
                                Well, you could certainly set up a shortcut and assign it Ctl-Alt-D or something.

                                Comment

                                Working...