Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: What are "Command Extensions"  (Read 7606 times)

0 Members and 1 Guest are viewing this topic.

vibhor_agarwalin

    Topic Starter


    Adviser

    What are "Command Extensions"
    « on: October 17, 2005, 04:55:39 AM »
    Hi,

    In help file of many commands like for, etc there is a line like:

    If Commnad Extensions are enabled ...

    What are these.

    Thanks
    Vibhor Kumar Agarwal

    Sidewinder



      Guru

      Thanked: 139
    • Experience: Familiar
    • OS: Windows 10
    Re: What are "Command Extensions"
    « Reply #1 on: October 17, 2005, 06:13:07 AM »
    Command extensions allow you to do things indirectly from the command line. For instance you can run a MP3 or DOC file directly from the command line and by virtue of it's file type will open the correct application. (Windows Media Player or Word). This applies to how your file associations are setup.

    Command extensions are enabled by default. Extensions also apply to some shell commands which enable special character handling.

    Hope this helps. 8)
    The true sign of intelligence is not knowledge but imagination.

    -- Albert Einstein

    vibhor_agarwalin

      Topic Starter


      Adviser

      Re: What are "Command Extensions"
      « Reply #2 on: October 17, 2005, 06:51:55 AM »
      Quote
      Hope this helps.  


      You have cleared everything.

      Okay a sidetwist, if they are enabled by default then can they be disabled somehow?   8)
      Vibhor Kumar Agarwal

      Sidewinder



        Guru

        Thanked: 139
      • Experience: Familiar
      • OS: Windows 10
      Re: What are "Command Extensions"
      « Reply #3 on: October 17, 2005, 08:42:23 AM »
      Use the /e: off switch with cmd to disable command extensions. Only valid for the cmd session.

      You can shut off extensions permantly by updating the

      HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\EnableExtensions key in the registry.

      Why would you want to do this? 8)

      Note: Do not put a space between the colon and off when using the switch. The forum interpreted a colon, little o as a emoticon.
      The true sign of intelligence is not knowledge but imagination.

      -- Albert Einstein

      vibhor_agarwalin

        Topic Starter


        Adviser

        Re: What are "Command Extensions"
        « Reply #4 on: October 18, 2005, 02:50:41 AM »
        Okay,

        I was just thinking, there should be other way round also.

        Thanks.
        Vibhor Kumar Agarwal