Solved

3GB Text File Editor

Posted on 2004-04-01
5
2,087 Views
Last Modified: 2007-12-19
My server has 2gb or RAM..
I have a 3GB text file that I need to edit the last few lines of.  What is the fastest way to do this?  The only thing that I found that will even open the file is WordPad, but I can't do anything with it from there...

Any suggestions?
0
Comment
Question by:jagoodie
5 Comments
 
LVL 26

Expert Comment

by:EDDYKT
Comment Utility
See whether this one help, what's your problem anyway?

http://support.microsoft.com/default.aspx?scid=kb;en-us;189981
0
 
LVL 2

Author Comment

by:jagoodie
Comment Utility
yeah, thats what i am getting to, and cutting it down to smaller files

my problem is that i am importing a 2.8 gb file to a sql server via dts and it fails near the end with a "Extra Delimiter" error or something like that, so i need to go see the line and fix it, but i cant get it open to work on it because it is so huge.
0
 
LVL 27

Expert Comment

by:jjafferr
Comment Utility
Hi jagoodie,

Why don't you use VB to,
read how many lines you have,
then Open #1 for Input, and Open #2 for output, until the line number equals to the half of the original file,
then,
Open #3 for output, from where #2 stoped, and continue to the end.

this way you will break you big file into 2 smaller files.

Hope this helps

jaffer
0
 
LVL 19

Expert Comment

by:Shauli
Comment Utility
www.kedit.com

There is no limit to file size other than your vistual memory.

S
0
 
LVL 15

Accepted Solution

by:
unknown_routine earned 250 total points
Comment Utility
My server has 2gb or RAM..
=================

it is not important your server has 2GB, if your server has GB 5 of Free hard disk space(10 better)

you should be able to  open the file. so Free server Hard disk if its full, then open the text file.


onther method  , you can use a free file splitter to split the text file(after taking backup) and the scan

the part to see where is the error.

a good one is here:

http://download.com.com/3000-2248-8493294.html?tag=lst-3-2

The good thing is that a when you split a text file ,you will get 2 text files.

0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

772 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

15 Experts available now in Live!

Get 1:1 Help Now