FG
💻 Software

command-line / batch file to list all the jar files?

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

Problem

I want to list all the jar files in subdirectories of a specified path, on a Windows computer, along with the file size & times. gives me too much information. sort of does what I want, but gives me a bunch of information per-directory that I don't care about. is brief but doesn't give me the time …

Error Output

dir /s

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: command-line / batch file to list all the jar files?

Low Risk

you could do this: which will iterate over all dirs (including the current one) and echos out the names. It will also echo out the command, so you may want to pipe the output to a file: or put it in a bat: note the double 's in the version.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment