copy only last 1000 records of the crushftp.log file to read in visual studio 10

out crushftp.log file is large i tried to read though it in visual studio 10 and it took 2 hours.
I want to be able to only read the last 1000 or so records
when i copy the file can i only copy the last 1000 records or so?
 someone know a better way? i know i can sort it and get the record i want on top
any othere suggestion?
LVL 3
john MAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
john MAuthor Commented:
do you know now at the cmd level to sort a file and select an offset to sort on
on unix it was easy but on the pc i don't see a way
0
CodeCruiserCommented:
I dont know if sorting is supported on text files. Is it a CSV file?
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Gerwin Jansen, EE MVETopic Advisor Commented:
Well, the Windows Server 2003 Resource Kit Tools contain a tail command. Will that work for you?
0
Bill PrewIT / Software Engineering ConsultantCommented:
Search for a DOS version of the TAIL command, that should allow you to do this.  GNU Tail or UNXTOOLS are likely versions to check out, but I don't have URLs handy...

~bp
0
Gerwin Jansen, EE MVETopic Advisor Commented:
0
john MAuthor Commented:
code
its a log file i copy over to an  txt file
i been able to make the sorted files work
The records i need start with an ! so it is first in a sort.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.