Windows 10 MSG command mystery











up vote
2
down vote

favorite












I'm an old-timer experienced Windows user from way back. My main computer is a Windows 7 Pro box. We bought a new PC for a new office; it of course has Windows 10 (Home) on it. I was doing some work on the new PC and wanted to send the result of what I was doing -- the IPv6 address of a printer -- back to the Win 7 PC. I wanted to use NET SEND but that isn't available on Win 10 (or Win 7 as it turns out).



Research found that the MSG command is supposed to (sort of) do what NET SEND did in the old days. A web site sample showed a command prompt window with the current directory being C:WINDOWSSYSTEM32 and showed the result of MSG /? giving the syntax of the command -- just what I wanted.



But running MSG /? on the Win 10 box said that MSG was not recognized as a command. (It works on Win 7, with MSG.EXE being in SYSTEM32.) A bit of digging found MSG.EXE in a directory under WinSxS --



C:WindowsWinSxSamd64_microsoft-windows-t..commandlinetoolsmqq_31bf3856ad364e35_10.0.17134.1_none_0ea9fdb9152f846c



but it doesn't run right even with that set as the current directory. Something needs to install it, it seems -- tho there was nothing about doing anything like that in the online sample that I had found.



I checked "Programs" (what used to be "Programs and Features") and did not see it as something I could install.



What's going on? How do I make this usable? What other commads need to have the same kind of magic done so that they work from a normal command prompt?



Thanks for any assistance.










share|improve this question






















  • Um, forgive me for asking the obvious dumb question, but why couldn't you use Notepad and a thumbdrive to get the info to the other machine? Or any other method to get an IP address, even a IPv6 address, to another machine?
    – YetAnotherRandomUser
    3 hours ago















up vote
2
down vote

favorite












I'm an old-timer experienced Windows user from way back. My main computer is a Windows 7 Pro box. We bought a new PC for a new office; it of course has Windows 10 (Home) on it. I was doing some work on the new PC and wanted to send the result of what I was doing -- the IPv6 address of a printer -- back to the Win 7 PC. I wanted to use NET SEND but that isn't available on Win 10 (or Win 7 as it turns out).



Research found that the MSG command is supposed to (sort of) do what NET SEND did in the old days. A web site sample showed a command prompt window with the current directory being C:WINDOWSSYSTEM32 and showed the result of MSG /? giving the syntax of the command -- just what I wanted.



But running MSG /? on the Win 10 box said that MSG was not recognized as a command. (It works on Win 7, with MSG.EXE being in SYSTEM32.) A bit of digging found MSG.EXE in a directory under WinSxS --



C:WindowsWinSxSamd64_microsoft-windows-t..commandlinetoolsmqq_31bf3856ad364e35_10.0.17134.1_none_0ea9fdb9152f846c



but it doesn't run right even with that set as the current directory. Something needs to install it, it seems -- tho there was nothing about doing anything like that in the online sample that I had found.



I checked "Programs" (what used to be "Programs and Features") and did not see it as something I could install.



What's going on? How do I make this usable? What other commads need to have the same kind of magic done so that they work from a normal command prompt?



Thanks for any assistance.










share|improve this question






















  • Um, forgive me for asking the obvious dumb question, but why couldn't you use Notepad and a thumbdrive to get the info to the other machine? Or any other method to get an IP address, even a IPv6 address, to another machine?
    – YetAnotherRandomUser
    3 hours ago













up vote
2
down vote

favorite









up vote
2
down vote

favorite











I'm an old-timer experienced Windows user from way back. My main computer is a Windows 7 Pro box. We bought a new PC for a new office; it of course has Windows 10 (Home) on it. I was doing some work on the new PC and wanted to send the result of what I was doing -- the IPv6 address of a printer -- back to the Win 7 PC. I wanted to use NET SEND but that isn't available on Win 10 (or Win 7 as it turns out).



Research found that the MSG command is supposed to (sort of) do what NET SEND did in the old days. A web site sample showed a command prompt window with the current directory being C:WINDOWSSYSTEM32 and showed the result of MSG /? giving the syntax of the command -- just what I wanted.



But running MSG /? on the Win 10 box said that MSG was not recognized as a command. (It works on Win 7, with MSG.EXE being in SYSTEM32.) A bit of digging found MSG.EXE in a directory under WinSxS --



C:WindowsWinSxSamd64_microsoft-windows-t..commandlinetoolsmqq_31bf3856ad364e35_10.0.17134.1_none_0ea9fdb9152f846c



but it doesn't run right even with that set as the current directory. Something needs to install it, it seems -- tho there was nothing about doing anything like that in the online sample that I had found.



I checked "Programs" (what used to be "Programs and Features") and did not see it as something I could install.



What's going on? How do I make this usable? What other commads need to have the same kind of magic done so that they work from a normal command prompt?



Thanks for any assistance.










share|improve this question













I'm an old-timer experienced Windows user from way back. My main computer is a Windows 7 Pro box. We bought a new PC for a new office; it of course has Windows 10 (Home) on it. I was doing some work on the new PC and wanted to send the result of what I was doing -- the IPv6 address of a printer -- back to the Win 7 PC. I wanted to use NET SEND but that isn't available on Win 10 (or Win 7 as it turns out).



Research found that the MSG command is supposed to (sort of) do what NET SEND did in the old days. A web site sample showed a command prompt window with the current directory being C:WINDOWSSYSTEM32 and showed the result of MSG /? giving the syntax of the command -- just what I wanted.



But running MSG /? on the Win 10 box said that MSG was not recognized as a command. (It works on Win 7, with MSG.EXE being in SYSTEM32.) A bit of digging found MSG.EXE in a directory under WinSxS --



C:WindowsWinSxSamd64_microsoft-windows-t..commandlinetoolsmqq_31bf3856ad364e35_10.0.17134.1_none_0ea9fdb9152f846c



but it doesn't run right even with that set as the current directory. Something needs to install it, it seems -- tho there was nothing about doing anything like that in the online sample that I had found.



I checked "Programs" (what used to be "Programs and Features") and did not see it as something I could install.



What's going on? How do I make this usable? What other commads need to have the same kind of magic done so that they work from a normal command prompt?



Thanks for any assistance.







windows-7 windows command-line






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 7 hours ago









J.Merrill

13118




13118












  • Um, forgive me for asking the obvious dumb question, but why couldn't you use Notepad and a thumbdrive to get the info to the other machine? Or any other method to get an IP address, even a IPv6 address, to another machine?
    – YetAnotherRandomUser
    3 hours ago


















  • Um, forgive me for asking the obvious dumb question, but why couldn't you use Notepad and a thumbdrive to get the info to the other machine? Or any other method to get an IP address, even a IPv6 address, to another machine?
    – YetAnotherRandomUser
    3 hours ago
















Um, forgive me for asking the obvious dumb question, but why couldn't you use Notepad and a thumbdrive to get the info to the other machine? Or any other method to get an IP address, even a IPv6 address, to another machine?
– YetAnotherRandomUser
3 hours ago




Um, forgive me for asking the obvious dumb question, but why couldn't you use Notepad and a thumbdrive to get the info to the other machine? Or any other method to get an IP address, even a IPv6 address, to another machine?
– YetAnotherRandomUser
3 hours ago










3 Answers
3






active

oldest

votes

















up vote
2
down vote













Running MSG /? on the Win 10 box said that MSG was not recognized as a command




We bought a new PC for a new office; it of course has Windows 10 (Home) on it.




Home editions of Windows do not include msg



Source Msg - Windows CMD - SS64.com




What other commands need to have the same kind of magic done so that they work from a normal command prompt?




That question is "too broad".






share|improve this answer





















  • SS64 is AWESOME
    – YetAnotherRandomUser
    3 hours ago


















up vote
2
down vote













You are apparently using on all computers the Home version.
This version does not include the MSG command.
The command is only available in Windows versions starting from Pro.



As a side-remark, tested on Windows Enterprise, even the old "net send"
command still exists in that version.



By all reports, trying to transplant msg.exe from higher Windows versions
to Home does not work, so there is no easy workaround.



You can however write your own.



By using the free
psexec
you can execute code on remote computers that creates a pop-up message.



See the post
Show a popup/message box from a Windows batch file
for a few ideas.



The niftiest ones I found were:





  • mshta.exe, the runtime engine for Windows .hta HTML applications,
    accepts a general URL as command line argument, including a javascript:
    protocol URL. So you could issue an alert with a timeout of 10 seconds this way:



    mshta "javascript:var sh=new ActiveXObject( 'WScript.Shell' ); sh.Popup( 'Message!', 10, 'Title!', 64 );close()"



  • Using a VBScript file and call it using CScript,
    with something like the following in a .vbs file:



    Set objArgs = WScript.Arguments
    messageText = objArgs(0)
    MsgBox messageText







share|improve this answer




























    up vote
    0
    down vote













    The MSG program is only available on Pro or Enterprise versions of Windows.
    It's main intend is to notify users on a terminal server or similar stuff. It requires certain rights normally only available to administrators (normal user can be given the right to use it) meaning its main intend is to be used by windows Administrators to notify users about an shutdown, problem, etc.



    The subfolder inside of WinSxS is from an Windows Update. Microsoft calls this folder "Component Store" and more info about it can be found in this article:
    https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/manage-the-component-store


    I was able to find the same folder with msg.exe on my system. Looking at it, it doesn't seem like its an valid .exe file at all, its starts with "DCS" when looking at it in an hex editor but should start with "MZ" if its an executable file. I was not able to find any documentation about this "DCS" header.



    Alternatives would be simply sending an mail and opening it in your web mail client if both computers have internet access. Windows 7 and 10 also both come with an feature to offer assistance to other people, it can be opened by starting msra.exe If that method does not work you could use other remote management tools like Teamviewer. Teamviewer has an option to use LAN only connections meaning no internet is required to use it on a local LAN.






    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "3"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1379843%2fwindows-10-msg-command-mystery%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      2
      down vote













      Running MSG /? on the Win 10 box said that MSG was not recognized as a command




      We bought a new PC for a new office; it of course has Windows 10 (Home) on it.




      Home editions of Windows do not include msg



      Source Msg - Windows CMD - SS64.com




      What other commands need to have the same kind of magic done so that they work from a normal command prompt?




      That question is "too broad".






      share|improve this answer





















      • SS64 is AWESOME
        – YetAnotherRandomUser
        3 hours ago















      up vote
      2
      down vote













      Running MSG /? on the Win 10 box said that MSG was not recognized as a command




      We bought a new PC for a new office; it of course has Windows 10 (Home) on it.




      Home editions of Windows do not include msg



      Source Msg - Windows CMD - SS64.com




      What other commands need to have the same kind of magic done so that they work from a normal command prompt?




      That question is "too broad".






      share|improve this answer





















      • SS64 is AWESOME
        – YetAnotherRandomUser
        3 hours ago













      up vote
      2
      down vote










      up vote
      2
      down vote









      Running MSG /? on the Win 10 box said that MSG was not recognized as a command




      We bought a new PC for a new office; it of course has Windows 10 (Home) on it.




      Home editions of Windows do not include msg



      Source Msg - Windows CMD - SS64.com




      What other commands need to have the same kind of magic done so that they work from a normal command prompt?




      That question is "too broad".






      share|improve this answer












      Running MSG /? on the Win 10 box said that MSG was not recognized as a command




      We bought a new PC for a new office; it of course has Windows 10 (Home) on it.




      Home editions of Windows do not include msg



      Source Msg - Windows CMD - SS64.com




      What other commands need to have the same kind of magic done so that they work from a normal command prompt?




      That question is "too broad".







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered 6 hours ago









      DavidPostill

      102k25218254




      102k25218254












      • SS64 is AWESOME
        – YetAnotherRandomUser
        3 hours ago


















      • SS64 is AWESOME
        – YetAnotherRandomUser
        3 hours ago
















      SS64 is AWESOME
      – YetAnotherRandomUser
      3 hours ago




      SS64 is AWESOME
      – YetAnotherRandomUser
      3 hours ago












      up vote
      2
      down vote













      You are apparently using on all computers the Home version.
      This version does not include the MSG command.
      The command is only available in Windows versions starting from Pro.



      As a side-remark, tested on Windows Enterprise, even the old "net send"
      command still exists in that version.



      By all reports, trying to transplant msg.exe from higher Windows versions
      to Home does not work, so there is no easy workaround.



      You can however write your own.



      By using the free
      psexec
      you can execute code on remote computers that creates a pop-up message.



      See the post
      Show a popup/message box from a Windows batch file
      for a few ideas.



      The niftiest ones I found were:





      • mshta.exe, the runtime engine for Windows .hta HTML applications,
        accepts a general URL as command line argument, including a javascript:
        protocol URL. So you could issue an alert with a timeout of 10 seconds this way:



        mshta "javascript:var sh=new ActiveXObject( 'WScript.Shell' ); sh.Popup( 'Message!', 10, 'Title!', 64 );close()"



      • Using a VBScript file and call it using CScript,
        with something like the following in a .vbs file:



        Set objArgs = WScript.Arguments
        messageText = objArgs(0)
        MsgBox messageText







      share|improve this answer

























        up vote
        2
        down vote













        You are apparently using on all computers the Home version.
        This version does not include the MSG command.
        The command is only available in Windows versions starting from Pro.



        As a side-remark, tested on Windows Enterprise, even the old "net send"
        command still exists in that version.



        By all reports, trying to transplant msg.exe from higher Windows versions
        to Home does not work, so there is no easy workaround.



        You can however write your own.



        By using the free
        psexec
        you can execute code on remote computers that creates a pop-up message.



        See the post
        Show a popup/message box from a Windows batch file
        for a few ideas.



        The niftiest ones I found were:





        • mshta.exe, the runtime engine for Windows .hta HTML applications,
          accepts a general URL as command line argument, including a javascript:
          protocol URL. So you could issue an alert with a timeout of 10 seconds this way:



          mshta "javascript:var sh=new ActiveXObject( 'WScript.Shell' ); sh.Popup( 'Message!', 10, 'Title!', 64 );close()"



        • Using a VBScript file and call it using CScript,
          with something like the following in a .vbs file:



          Set objArgs = WScript.Arguments
          messageText = objArgs(0)
          MsgBox messageText







        share|improve this answer























          up vote
          2
          down vote










          up vote
          2
          down vote









          You are apparently using on all computers the Home version.
          This version does not include the MSG command.
          The command is only available in Windows versions starting from Pro.



          As a side-remark, tested on Windows Enterprise, even the old "net send"
          command still exists in that version.



          By all reports, trying to transplant msg.exe from higher Windows versions
          to Home does not work, so there is no easy workaround.



          You can however write your own.



          By using the free
          psexec
          you can execute code on remote computers that creates a pop-up message.



          See the post
          Show a popup/message box from a Windows batch file
          for a few ideas.



          The niftiest ones I found were:





          • mshta.exe, the runtime engine for Windows .hta HTML applications,
            accepts a general URL as command line argument, including a javascript:
            protocol URL. So you could issue an alert with a timeout of 10 seconds this way:



            mshta "javascript:var sh=new ActiveXObject( 'WScript.Shell' ); sh.Popup( 'Message!', 10, 'Title!', 64 );close()"



          • Using a VBScript file and call it using CScript,
            with something like the following in a .vbs file:



            Set objArgs = WScript.Arguments
            messageText = objArgs(0)
            MsgBox messageText







          share|improve this answer












          You are apparently using on all computers the Home version.
          This version does not include the MSG command.
          The command is only available in Windows versions starting from Pro.



          As a side-remark, tested on Windows Enterprise, even the old "net send"
          command still exists in that version.



          By all reports, trying to transplant msg.exe from higher Windows versions
          to Home does not work, so there is no easy workaround.



          You can however write your own.



          By using the free
          psexec
          you can execute code on remote computers that creates a pop-up message.



          See the post
          Show a popup/message box from a Windows batch file
          for a few ideas.



          The niftiest ones I found were:





          • mshta.exe, the runtime engine for Windows .hta HTML applications,
            accepts a general URL as command line argument, including a javascript:
            protocol URL. So you could issue an alert with a timeout of 10 seconds this way:



            mshta "javascript:var sh=new ActiveXObject( 'WScript.Shell' ); sh.Popup( 'Message!', 10, 'Title!', 64 );close()"



          • Using a VBScript file and call it using CScript,
            with something like the following in a .vbs file:



            Set objArgs = WScript.Arguments
            messageText = objArgs(0)
            MsgBox messageText








          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 6 hours ago









          harrymc

          249k10257550




          249k10257550






















              up vote
              0
              down vote













              The MSG program is only available on Pro or Enterprise versions of Windows.
              It's main intend is to notify users on a terminal server or similar stuff. It requires certain rights normally only available to administrators (normal user can be given the right to use it) meaning its main intend is to be used by windows Administrators to notify users about an shutdown, problem, etc.



              The subfolder inside of WinSxS is from an Windows Update. Microsoft calls this folder "Component Store" and more info about it can be found in this article:
              https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/manage-the-component-store


              I was able to find the same folder with msg.exe on my system. Looking at it, it doesn't seem like its an valid .exe file at all, its starts with "DCS" when looking at it in an hex editor but should start with "MZ" if its an executable file. I was not able to find any documentation about this "DCS" header.



              Alternatives would be simply sending an mail and opening it in your web mail client if both computers have internet access. Windows 7 and 10 also both come with an feature to offer assistance to other people, it can be opened by starting msra.exe If that method does not work you could use other remote management tools like Teamviewer. Teamviewer has an option to use LAN only connections meaning no internet is required to use it on a local LAN.






              share|improve this answer



























                up vote
                0
                down vote













                The MSG program is only available on Pro or Enterprise versions of Windows.
                It's main intend is to notify users on a terminal server or similar stuff. It requires certain rights normally only available to administrators (normal user can be given the right to use it) meaning its main intend is to be used by windows Administrators to notify users about an shutdown, problem, etc.



                The subfolder inside of WinSxS is from an Windows Update. Microsoft calls this folder "Component Store" and more info about it can be found in this article:
                https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/manage-the-component-store


                I was able to find the same folder with msg.exe on my system. Looking at it, it doesn't seem like its an valid .exe file at all, its starts with "DCS" when looking at it in an hex editor but should start with "MZ" if its an executable file. I was not able to find any documentation about this "DCS" header.



                Alternatives would be simply sending an mail and opening it in your web mail client if both computers have internet access. Windows 7 and 10 also both come with an feature to offer assistance to other people, it can be opened by starting msra.exe If that method does not work you could use other remote management tools like Teamviewer. Teamviewer has an option to use LAN only connections meaning no internet is required to use it on a local LAN.






                share|improve this answer

























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  The MSG program is only available on Pro or Enterprise versions of Windows.
                  It's main intend is to notify users on a terminal server or similar stuff. It requires certain rights normally only available to administrators (normal user can be given the right to use it) meaning its main intend is to be used by windows Administrators to notify users about an shutdown, problem, etc.



                  The subfolder inside of WinSxS is from an Windows Update. Microsoft calls this folder "Component Store" and more info about it can be found in this article:
                  https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/manage-the-component-store


                  I was able to find the same folder with msg.exe on my system. Looking at it, it doesn't seem like its an valid .exe file at all, its starts with "DCS" when looking at it in an hex editor but should start with "MZ" if its an executable file. I was not able to find any documentation about this "DCS" header.



                  Alternatives would be simply sending an mail and opening it in your web mail client if both computers have internet access. Windows 7 and 10 also both come with an feature to offer assistance to other people, it can be opened by starting msra.exe If that method does not work you could use other remote management tools like Teamviewer. Teamviewer has an option to use LAN only connections meaning no internet is required to use it on a local LAN.






                  share|improve this answer














                  The MSG program is only available on Pro or Enterprise versions of Windows.
                  It's main intend is to notify users on a terminal server or similar stuff. It requires certain rights normally only available to administrators (normal user can be given the right to use it) meaning its main intend is to be used by windows Administrators to notify users about an shutdown, problem, etc.



                  The subfolder inside of WinSxS is from an Windows Update. Microsoft calls this folder "Component Store" and more info about it can be found in this article:
                  https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/manage-the-component-store


                  I was able to find the same folder with msg.exe on my system. Looking at it, it doesn't seem like its an valid .exe file at all, its starts with "DCS" when looking at it in an hex editor but should start with "MZ" if its an executable file. I was not able to find any documentation about this "DCS" header.



                  Alternatives would be simply sending an mail and opening it in your web mail client if both computers have internet access. Windows 7 and 10 also both come with an feature to offer assistance to other people, it can be opened by starting msra.exe If that method does not work you could use other remote management tools like Teamviewer. Teamviewer has an option to use LAN only connections meaning no internet is required to use it on a local LAN.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 6 hours ago

























                  answered 6 hours ago









                  User025

                  1818




                  1818






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Super User!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1379843%2fwindows-10-msg-command-mystery%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Eastern Orthodox Church

                      Understanding the information contained in the Deep Space Network XML data?

                      Zagreb