FG
💻 Software

Windows equivalent of ls * (asterisk) directory wildcarding?

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

Problem

Another question from an long-time Unix/Linux user who finds himself in a Windows world. First let me explain exactly what I'm trying to do. I'm using the Windows cmd.exe shell, and I want to list all directories below the current directory that contain a bin\Debug hierarchy, and determine if they …

Error Output

\Current
    \DirA
         \bin
             \Debug
                  (some files under debug)
             \Release
    \DirB
         \bin
       …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Windows equivalent of ls * (asterisk) directory wildcarding?

Low Risk

Something like this should do what you want. At the root directory of the project type: Dir arguments: /s - recursive, /b - "bare", no extra info findstr arguments: /i - ignore case In general, 'help command' will show help for the shell commands. I…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment