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

Author Topic: CMD messenger  (Read 8959 times)

0 Members and 1 Guest are viewing this topic.

Shooterha

    Topic Starter


    Greenhorn

    CMD messenger
    « on: October 17, 2009, 04:38:17 PM »
    hi, i've tried to make two Cmd messengers and both of them don't work.

    for one of them i tried:
    Code: [Select]
    @echo off
    Echo Messanger
    :A
    set /p n=USER
    set /p m=Message
    net send %n% %m%
    Goto A
    and i end up getting this

    Code: [Select]
    The syntax of this comand is:
    NET
            [ Accounts | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP|
              HELPMSG | LOCALGROUP | PAUSE | PRINT | SESSION | sHARE | START |
              STATISTICS | STOP | TIME | USE | USER | VIEW]

    The other way i tried to make it is
    Code: [Select]
    :A
    set /p n=USER
    set /p m=Message
    msg %n% %m%
    Goto A

    where i end up getting
    Code: [Select]
    'msg'  is not recognized as an internal or external command, Operable program or batch file
    does anyone have any ideas whats wrong?
    SPARTA!

    Helpmeh



      Guru

    • Roar.
    • Thanked: 123
      • Yes
      • Yes
    • Computer: Specs
    • Experience: Familiar
    • OS: Windows 8
    Re: CMD messenger
    « Reply #1 on: October 17, 2009, 04:53:07 PM »
    Msg is only in Windows XP Pro and vista (I don't have it). Try typing
    net send /?
    At the command prompt to see the correct syntax. The computers have to be networked or the "messenger" won't work either. 
    Where's MagicSpeed?
    Quote from: 'matt'
    He's playing a game called IRL. Great graphics, *censored* gameplay.

    Shooterha

      Topic Starter


      Greenhorn

      Re: CMD messenger
      « Reply #2 on: October 17, 2009, 04:54:53 PM »
      Msg is only in Windows XP Pro and vista (I don't have it). Try typing
      net send /?
      At the command prompt to see the correct syntax. The computers have to be networked or the "messenger" won't work either. 


      NET
              [ Accounts | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP|
                HELPMSG | LOCALGROUP | PAUSE | PRINT | SESSION | sHARE | START |
                STATISTICS | STOP | TIME | USE | USER | VIEW]

      this is what it gives me of net send/?
      SPARTA!

      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: CMD messenger
      « Reply #3 on: October 17, 2009, 10:34:15 PM »
      there's a space between send and /?.

      Also I believe the messenger service is disabled in XP SP3 and Vista SP1 and up.
      I was trying to dereference Null Pointers before it was cool.

      Shooterha

        Topic Starter


        Greenhorn

        Re: CMD messenger
        « Reply #4 on: October 18, 2009, 06:30:21 AM »
        there's a space between send and /?.

        Also I believe the messenger service is disabled in XP SP3 and Vista SP1 and up.

        yes i have done it with and without spaces i get the same response everytime
        SPARTA!

        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: CMD messenger
        « Reply #5 on: October 18, 2009, 09:56:10 AM »
        oh. Windows Vista doesn't have net send.... as notable in the list is gives you when you try :P
        I was trying to dereference Null Pointers before it was cool.

        Salmon Trout

        • Guest
        Re: CMD messenger
        « Reply #6 on: October 19, 2009, 12:30:31 AM »
        oh. Windows Vista doesn't have net send.... as notable in the list is gives you when you try :P

        Indeed

        Microsoft Windows XP [Version 5.1.2600]
        (C) Copyright 1985-2001 Microsoft Corp.

        C:\>net
        The syntax of this command is:


        NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
              HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |
              SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]



        Shooterha

          Topic Starter


          Greenhorn

          Re: CMD messenger
          « Reply #7 on: October 25, 2009, 01:04:59 PM »
          there is no send command for net on vista i found out ,

          but the thing is when i type in MSG which i heard is still a command it dosnt work
          SPARTA!

          Salmon Trout

          • Guest
          Re: CMD messenger
          « Reply #8 on: October 25, 2009, 02:42:21 PM »
          MSG only works if the other user has messaging enabled. On many networks it is disabled. Type MSG /? to see the help.

          Shooterha

            Topic Starter


            Greenhorn

            Re: CMD messenger
            « Reply #9 on: October 25, 2009, 03:58:32 PM »
            MSG only works if the other user has messaging enabled. On many networks it is disabled. Type MSG /? to see the help.

            anything like
            MSG
            or 
            MSG /?

            says that MSG is not a command though. and i know its not blocked on this network because its my home network and i made it myself and i'm the admin
            SPARTA!

            Salmon Trout

            • Guest
            Re: CMD messenger
            « Reply #10 on: October 25, 2009, 04:33:32 PM »
            What is your OS?

            Shooterha

              Topic Starter


              Greenhorn

              Re: CMD messenger
              « Reply #11 on: October 25, 2009, 06:33:07 PM »
              What is your OS?

              its windows Vista home primium
              SPARTA!

              Salmon Trout

              • Guest
              Re: CMD messenger
              « Reply #12 on: October 26, 2009, 03:46:26 AM »
              Vista home does not have MSG

              Shooterha

                Topic Starter


                Greenhorn

                Re: CMD messenger
                « Reply #13 on: October 26, 2009, 07:51:02 PM »
                Vista home does not have MSG

                so it doesn't have Net send or MSG .....
                SPARTA!