[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Adding an entry to hostfile..

Posted on 1998-08-26
2
Medium Priority
?
202 Views
Last Modified: 2013-11-20
Hi guys,
   I want to add/delete an entry from the HOSTS file
under "C:\windows\"...
  the entry is a typical
 XXX.XXX.XXX.XXX   www.XXX.com

How should I go about doiung this?
Can I open/edit it just like a usual text file
using CFile?

Thanks...

David Chong
0
Comment
Question by:Haho
2 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 150 total points
ID: 1321340
Yes, that is a plain text file. Use CStdioFile to access it.
0
 
LVL 1

Author Comment

by:Haho
ID: 1321341
thanks..
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Screencast - Getting to Know the Pipeline
Suggested Courses

830 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