Click here to Skip to main content
12,752,396 members (36,479 online)
Click here to Skip to main content
Add your own
alternative version


17 bookmarked
Posted 14 Feb 2004

Win Count

, 14 Feb 2004
Rate this:
Please Sign up or sign in to vote.
Count number of lines of code in your project.

Sample Image - WinCount.jpg


WinCount is a little utility for measuring the number of lines of code in your program (or any number of text files in a directory). Very easy to use and install.

VS.NET setup as external tool:


  • Just put the WinCount.exe file somewhere on your hard drive and
  • run the program by double clicking the executable.

To install in VS.NET as external tool:

  1. Go to Tools/External Tools.
  2. Click on Add button.
  3. Fill the fields as follows:
    • Name: WinCount
    • Command: Path to the winCount.exe file
    • Arguments: $(SolutionDir)
    • Initial Directory: blank (nothing at all)
  4. Click OK.
  5. Now, you can run the program by going to Tools and selecting WinCount.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Chief Technology Officer
United States United States
No Biography provided

You may also be interested in...

Comments and Discussions

GeneralLightweight footprint; fast; 9 out of 10 Pin
MioTEK30-May-07 7:45
memberMioTEK30-May-07 7:45 
GeneralAnother issue Pin
Bill Seddon16-Apr-07 23:04
memberBill Seddon16-Apr-07 23:04 
Generalexception! Pin
giddy_guitarist15-Dec-06 3:55
membergiddy_guitarist15-Dec-06 3:55 
Generalnot work Pin
Yilmaz YÖRÜK19-Jun-06 22:10
memberYilmaz YÖRÜK19-Jun-06 22:10 
Generalanother sample written by C#. Pin
KingMarine27-Jan-05 18:25
memberKingMarine27-Jan-05 18:25 
QuestionHow to count "lines of code"? Pin
davecraft5-Nov-04 8:14
memberdavecraft5-Nov-04 8:14 
AnswerRe: How to count "lines of code"? Pin
Werdna5-Nov-04 10:36
memberWerdna5-Nov-04 10:36 
GeneralAdded code to clear the file list Pin
Drew Berkemeyer17-Feb-04 7:01
sussDrew Berkemeyer17-Feb-04 7:01 
GeneralAdded code to omit blank and comment lines Pin
Drew Berkemeyer17-Feb-04 6:51
sussDrew Berkemeyer17-Feb-04 6:51 
GeneralRe: Added code to omit blank and comment lines Pin
Werdna18-Feb-04 9:24
memberWerdna18-Feb-04 9:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170217.1 | Last Updated 15 Feb 2004
Article Copyright 2004 by Werdna
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid