COMMAND PROMPT COMMAND TO KNOW THE NAME OF A PC ON A NETWORK

jus2mandarine Posted messages 258 Status Member -  
bendrop Posted messages 12662 Registration date   Status Contributor Last intervention   -
Hello,

Can you tell me which DOS command allows you to find out the name of a computer connected to the network?

In other words, if I have 3 computers A, B, and C, and I am connected to machine A, which DOS command should I execute to know the name of computer C if I have its IP address?

Thank you for your help /-

1 answer

  1. bendrop Posted messages 12662 Registration date   Status Contributor Last intervention   8 527
     
    Hello,

    Ping -a @ip

    Best regards.

    --
    Ignorance and folly have their pleasures just like the mind and knowledge.
    0
    1. jus2mandarine Posted messages 258 Status Member 1
       
      Hello bendrop,

      This command only gives me a regular ping. It's as if I were typing the command ping @ip.
      0
    2. bendrop Posted messages 12662 Registration date   Status Contributor Last intervention   8 527
       
      The -a switch allows you to resolve the IP to a name.
      0
    3. bendrop Posted messages 12662 Registration date   Status Contributor Last intervention   8 527
       
      You can also type:

      Nslookup @ip
      0