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. Quick tip

Quick tip

Scheduled Pinned Locked Moved The Lounge
32 Posts 24 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.
  • V virang_21

    Learned something new today. You can open a command prompt with current directory by typing cmd in address bar. No need to open cmd and then navigate to directory.

    Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

    D Offline
    D Offline
    Dirk Verheijke
    wrote on last edited by
    #23

    Cool!

    1 Reply Last reply
    0
    • K kalberts

      Brady Kelly wrote:

      Command prompts are so Windows 95.

      A shell (if I may ask, please) is a sign of advancement, sophistication, an efficient way of working... Just ask our junior employees, fresh from the University. They know - truth can't be argued, you know - that GUIs, and Windows in particular, is for amateurs, not for professionals. Editing a 7-bit ASCII configuration file (where you have to use escape codes for any character outside ASCIII and names with spaces are forbidden) in vi is just so much simpler and more efficient than having to grab a mouse to check that little square. Besides, that label on the check box wastes a lot of screen space telling me things I already know ... ... OK, I am exaggregating a litte bit. But only a tiny little bit. There is a constant battle here between these young, "advanced", newly-educated Linux fans who scorn at primitive, consumer oriented GUIs. Hey, we are professionals! We use professional tools! We write shell scripts, not for cmd.exe or powershell, we use professional shells like bash or sh! ... Essentially, we use Windows based tools, but these guys insist that bash shell scripts are perfectly fine, even though (or mayby even because) they enforce case sensitivity and rename environment variables so that they have the same casing (and in some cases: name) as is common in a Linux environment. And then they start whining about those Windows users who are so unwilling to learn how to do things the proper way in a Linux environment...

      B Offline
      B Offline
      Brady Kelly
      wrote on last edited by
      #24

      Aah, yes, but I was only advocating the more modern and advanced Windows (and now Linux too) shell over the old and primitive DOS-based one usually called a Command Prompt.

      Follow my adventures with .NET Core at my new blog, Erisia Information Services.

      1 Reply Last reply
      0
      • V virang_21

        Learned something new today. You can open a command prompt with current directory by typing cmd in address bar. No need to open cmd and then navigate to directory.

        Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

        M Offline
        M Offline
        Member 11010760
        wrote on last edited by
        #25

        Typing 'cmd' in the address bar only opens up the command prompt to my "Windows" directory. If you have a folder on a file-share, it recognizes the location, does not support it, and defaults the 'cmd' prompt window to the "Windows" directory. It's still a quick way to open a 'cmd' prompt. Thanks.

        1 Reply Last reply
        0
        • V virang_21

          Learned something new today. You can open a command prompt with current directory by typing cmd in address bar. No need to open cmd and then navigate to directory.

          Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

          T Offline
          T Offline
          TNCaver
          wrote on last edited by
          #26

          Holy cow! Why hasn't this made all the popular lists of important Windows tips before?

          If you think 'goto' is evil, try writing an Assembly program without JMP.

          1 Reply Last reply
          0
          • Richard DeemingR Richard Deeming

            Or click on "File" in the ribbon - it has options to open a command prompt or Powershell, either elevated or not.


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            K Offline
            K Offline
            kdmote
            wrote on last edited by
            #27

            Richard Deeming wrote:

            File" in the ribbon - it has options to open a command prompt

            Mine doesn't. I wonder if that is an optional setting somewhere?

            Richard DeemingR 1 Reply Last reply
            0
            • V virang_21

              Learned something new today. You can open a command prompt with current directory by typing cmd in address bar. No need to open cmd and then navigate to directory.

              Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

              M Offline
              M Offline
              Matthias Haak
              wrote on last edited by
              #28

              If you want to have Zen++: rm -rf .*

              1 Reply Last reply
              0
              • K kdmote

                Richard Deeming wrote:

                File" in the ribbon - it has options to open a command prompt

                Mine doesn't. I wonder if that is an optional setting somewhere?

                Richard DeemingR Offline
                Richard DeemingR Offline
                Richard Deeming
                wrote on last edited by
                #29

                I haven't seen any related options - it just works: Explorer.png (15.4 KB)[^] According to this post[^], it should be available in Windows 8 or higher.


                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                K 1 Reply Last reply
                0
                • Richard DeemingR Richard Deeming

                  I haven't seen any related options - it just works: Explorer.png (15.4 KB)[^] According to this post[^], it should be available in Windows 8 or higher.


                  "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                  K Offline
                  K Offline
                  kdmote
                  wrote on last edited by
                  #30

                  Richard Deeming wrote:

                  available in Windows 8 or higher

                  "Ah, that would explain it," said the man who's company is still firmly set on Win 7. "Thanks anyways!"

                  1 Reply Last reply
                  0
                  • V virang_21

                    Learned something new today. You can open a command prompt with current directory by typing cmd in address bar. No need to open cmd and then navigate to directory.

                    Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

                    J Offline
                    J Offline
                    James Curran
                    wrote on last edited by
                    #31

                    If you wish to do the reverse (open a Explorer window focused on the current directory from a command prompt): start .

                    Truth, James

                    1 Reply Last reply
                    0
                    • Sander RosselS Sander Rossel

                      Nice! Didn't know the shift+right click either. Now I've got to try that rm -rf * from your signature :D

                      Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

                      T Offline
                      T Offline
                      TonyManso
                      wrote on last edited by
                      #32

                      Sander Rossel wrote:

                      Now I've got to try that rm -rf * from your signature

                      Ummmm... Ok, good luck with that! ;P

                      You can't win. You can't break even. You can't quit. You're welcome.

                      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