Solved

why this is happening

Posted on 2013-06-13
3
265 Views
Last Modified: 2013-06-14
C:\Windows\System32\drivers\etc>dir
 Volume in drive C has no label.
 Volume Serial Number is 0A74-0A66

 Directory of C:\Windows\System32\drivers\etc

07/13/2009  08:20 PM    <DIR>          .
07/13/2009  08:20 PM    <DIR>          ..
06/10/2009  02:00 PM               824 hosts
06/10/2009  02:00 PM             3,683 lmhosts.sam
06/10/2009  02:00 PM               407 networks
06/10/2009  02:00 PM             1,358 protocol
06/10/2009  02:00 PM            17,463 services
               5 File(s)         23,735 bytes
               2 Dir(s)  15,917,056,000 bytes free

C:\Windows\System32\drivers\etc>edit hosts.txt
'edit' is not recognized as an internal or external command,
operable program or batch file.

C:\Windows\System32\drivers\etc>copycon hosts
'copycon' is not recognized as an internal or external command,
operable program or batch file.

C:\Windows\System32\drivers\etc>
0
Comment
Question by:walkerdba
3 Comments
 
LVL 77

Expert Comment

by:arnold
ID: 39246493
Notepad is a command you should use to edit.

 Copy con file
0
 
LVL 37

Accepted Solution

by:
Gerwin Jansen earned 500 total points
ID: 39247066
notepad hosts

(file is called: hosts not hosts.txt)
0
 

Author Closing Comment

by:walkerdba
ID: 39249421
fine
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now