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

Author Topic: Am I in the right place ?  (Read 4273 times)

0 Members and 1 Guest are viewing this topic.

Blue

    Topic Starter


    Rookie

    • Experience: Experienced
    • OS: Windows 7
    Am I in the right place ?
    « on: March 24, 2017, 03:50:37 PM »
    I have tried searching to see if this site deals with the command interpreter scripts (??.cmd files). They are essentially the "new" batch files (real DOS doesn't exist in newer versions of Windows?). I don't want to ask questions in the wrong place, or waste anyone's time so I want to first find out if I can ask questions about .cmd files/scripts here. Most of what I have seen so far focuses on ".bat" files, so let me know if this is not the right place (and please recommend a good site for answering .cmd questions).

    Thank you in advance

    patio

    • Moderator


    • Genius
    • Maud' Dib
    • Thanked: 1769
      • Yes
    • Experience: Beginner
    • OS: Windows 7
    Re: Am I in the right place ?
    « Reply #1 on: March 24, 2017, 03:56:53 PM »
    You chose well...weedhopper.

    Carry on...
    " Anyone who goes to a psychiatrist should have his head examined. "

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: Am I in the right place ?
    « Reply #2 on: March 24, 2017, 04:15:41 PM »
    For some reason the "Microsoft DOS"  section is 90% NT based batch scripts. If anything it get's confusing when people actually try to get help with a "real" MS-DOS Batch file, since replies will generally assume NT Command extensions.

    For .cmd and .bat, they are effectively identical in how they operate on NT (with some minor differences with Errorlevels, I think). Both can be used with all NT Command extensions. The .cmd extension was mostly useful in the early days so that you could indicate whether a batch was designed for windows NT or Windows 9x. Not so useful now when you have to reach back a decade or more for Windows versions without the added featuresets.
    I was trying to dereference Null Pointers before it was cool.

    Blue

      Topic Starter


      Rookie

      • Experience: Experienced
      • OS: Windows 7
      Re: Am I in the right place ?
      « Reply #3 on: March 24, 2017, 10:54:03 PM »
      Thank you for your replies. I wanted to assume what you have stated - but assumptions can be dangerous. So, now (tomorrow, actually) I can open a new topic to ask about a problem I am having.

      Thanks, again.

      strollin



        Adviser
      • Thanked: 84
        • Yes
      • Certifications: List
      • Computer: Specs
      • Experience: Guru
      • OS: Windows 10
      Re: Am I in the right place ?
      « Reply #4 on: March 25, 2017, 07:14:43 AM »
      Are you sure you're not thinking of Powershell scripting?  In the very latest builds of Windows 10 MS has changed the default command interpreter to use Powershell instead of the old command.com.   

      Blue

        Topic Starter


        Rookie

        • Experience: Experienced
        • OS: Windows 7
        Re: Am I in the right place ?
        « Reply #5 on: March 25, 2017, 10:26:34 AM »
        Strollin, Methinks your avatar might be or might not be Mr. Natural - but it's gotta be Crumb !!

        Powershell seems to be the latest generation/iteration of a DOS-like environment for Windows. I think it mainly adds support for the OO environment (objects) whereas true DOS knew nothing of that exotica.

        patio

        • Moderator


        • Genius
        • Maud' Dib
        • Thanked: 1769
          • Yes
        • Experience: Beginner
        • OS: Windows 7
        Re: Am I in the right place ?
        « Reply #6 on: March 25, 2017, 10:38:17 AM »
        That is Mr. Natural.... 8)
        " Anyone who goes to a psychiatrist should have his head examined. "

        Blue

          Topic Starter


          Rookie

          • Experience: Experienced
          • OS: Windows 7
          Re: Am I in the right place ?
          « Reply #7 on: March 25, 2017, 12:32:30 PM »
          My all-time favorite line - and I still use it frequently to express frustration - was a line from Mr. Natural,

          "Mumble, B!tch, Gripe"

          Over the years that line has described most of my emotions !!   8)