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

jus2mandarine Posted messages 258 Status Membre -  
bendrop Posted messages 12655 Registration date   Status Contributeur 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 réponse

bendrop Posted messages 12655 Registration date   Status Contributeur Last intervention   8 524
 
Hello,

Ping -a @ip

Best regards.

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

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

Nslookup @ip
0