FG
💻 Software

How to count all the lines of code in a directory recursively on Windows?

Fresh5 days ago
Mar 15, 202687033 views
Confidence Score0%
0%

Problem

On a Windows 7 machine, I'd like a quick way to determine the number of lines in all of the files in a directory tree, for files of a given extension. Is there any good out of the box way to do this?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to count all the lines of code in a directory recursively on Windows?

Low Risk

You can use in powershell like this: Which will return the following:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment