Solved

why this is happening

Posted on 2013-06-13
3
264 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 76

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
The way I use Experts Exchange to assist me in analyzing and diagnosing a problem is I first enter a Verbose Question at Experts Exchange like: Office 2007 will hang when opening and saving files I then launch WordPad (any text editor will do) an…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…

760 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

21 Experts available now in Live!

Get 1:1 Help Now