Link to home
Start Free TrialLog in
Avatar of jagoodie
jagoodie

asked on

3GB Text File Editor

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?
Avatar of EDDYKT
EDDYKT
Flag of Canada image

See whether this one help, what's your problem anyway?

http://support.microsoft.com/default.aspx?scid=kb;en-us;189981
Avatar of jagoodie
jagoodie

ASKER

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.
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
www.kedit.com

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

S
ASKER CERTIFIED SOLUTION
Avatar of unknown_routine
unknown_routine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial