|
-
How to write to a specific line
In a program I am writing I need to be able to write to a specific line in a textfile. I don't know of anyway to do this except just rewriting the whole textfile which would be a pain to do. Does anyone know how to do this? To clear up any confusion that may have been caused I'll try to show what needs to be done.
This is the textfile I have
[UTFolder]
I need to write a specific string into here
[Extensions]
ut2=C:\UT2004\Maps
The extension list could go on for a while and would take a lot more coding to rewrite the file.
Similar Threads
-
By Volker Held in forum Java
Replies: 4
Last Post: 07-05-2002, 08:28 AM
-
By John in forum VB Classic
Replies: 4
Last Post: 08-08-2000, 10:17 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks