Ping command windows 7

2019-10-04 03:17发布

Hi i'm look for why my ping command doesn't work when it had a dash in the name for example

Ping HIL-BO

Will get:

Ping request could not find host HIL-BO. Please check the name and try again.

But when i type

Net view

[backslash][backslash] HIL-BO is in the outputted text

why wont this work please help

/Screenshot/

1条回答
Luminary・发光体
2楼-- · 2019-10-04 03:57

You can not ping to a windows network name except it the same as the DNS entry for your computers IP-address. I'm not a windows user, but the following should work. Try

ipconfig /a 

This should show you a list that contains your IP-address. I expect that, you have no DNS entry so you must use the xxx.xxx.xxx.xxx IP-address that will be shown by ipconfig.

ping xxx.xxx.xxx.xxx 

(replace the xxx.xxx.xxx.xxx by the displayed address). If you ping the same machine try:

ping localhost

The ping command can only work if the ping service on the target machine is running and the firewall is opend for ICMPv4 protocol and ports.

查看更多
登录 后发表回答