Davio
Davio

Reputation: 4737

Host with space in hosts file

Is it possible to add a host with a space in it to my hosts file in Windows?

Like 192.168.1.2 My%20Host

Note that %20 doesn't work.

Upvotes: 1

Views: 2756

Answers (1)

Ferenc Deak
Ferenc Deak

Reputation: 35388

No, it is not possible, the name of hosts may not contain space. http://compnetworking.about.com/od/windowsnetworking/qt/wcomputernaming.htm

Upvotes: 1

Related Questions