Advertisement

07.02.2008 at 02:26PM PDT, ID: 23535184
[x]
Attachment Details

Need a routine that will count the number of lines in a file for all files in a directory

Asked by John500 in C# Programming Language

Tags: C# VS 2005

Greetings:

I need a routine that will count the number of lines in a file.  This is the most basic task of the routine.  Ideally this routine would be able to search all sub folders of a given directory and perform these tasks:

1)  Tally total number of folders during execution
2)  Tally total number of files during execution
3)  Open all file types and tally total number of lines per file

Help!Start Free Trial
[+][-]07.02.2008 at 02:43PM PDT, ID: 21920989

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.02.2008 at 03:27PM PDT, ID: 21921412

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: C# Programming Language
Tags: C# VS 2005
Sign Up Now!
Solution Provided By: Idle_Mind
Participating Experts: 3
Solution Grade: A
 
 
[+][-]07.02.2008 at 03:34PM PDT, ID: 21921452

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 04:56PM PDT, ID: 21921810

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.02.2008 at 05:33PM PDT, ID: 21921931

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 06:36PM PDT, ID: 21922119

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628