FG
💻 Software

List files with path using Windows command line

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

Problem

My folder structure in a drive is like this (in Windows): This arrangement continues for 100s of folders. Inside Fd1 of each Folder x there are certain files. I am looking for a way to extract a list of files with entire path using Windows command line to a text file. With little experience of usin…

Error Output

Folder 1
 Fd1
 Fd2
 Fd3
 Fd4
 Fd5
Folder 2
 Fd1
 Fd2
 Fd3
 Fd4
 Fd5

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: List files with path using Windows command line

Low Risk

If I understand what you are looking for try If that works then redirect it into a text file.... You may also find it useful to have a list of command line switches for the DIR command.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment