GNU ls for Microsoft Windows

ls (also called msls) is a free console utility that lists information on Windows files. It is based on the GNU/Linux ls directory information utility. It displays exhaustive information on Windows files including DACLs/SACLs, integrity levels, reparse points, shortcuts, hard links, symbolic links, hidden streams, encryption, compaction, virtualization, object tracking identifier, and offline status.

Files are shown in different colors based on their type:

Regular files are shown with White Letters
Directories are shown with Green Letters
Executable files are shown with Yellow Letters
Multimedia files (.mpg, .gif, .jpg) are shown with Magenta Letters
Compressed archives (.zip, .gz, NTFS) are shown with Cyan Letters
Special files are shown with Blue Letters
Broken symbolic links are shown with Red Letters
Recently modified files are shown with Intense White Letters

An example of the output:

> ls -l
total 158
-ra--a----  1 Alan   68032 Jan 28 17:59 append-only
crw-rw-rw-  1 Alan    3423 Jan 29 04:41 compressed
drwxrwxrwx  1 Alan       0 Jan 27 09:57 dir
-rwE------  1 Alan      15 Jan 27 00:53 encrypted
-rw-r-----$ 1 Alan       5 Jan 24 08:13 file
-rw-r-----$ 1 Alan       5 Jan 24 08:13 file:secret
-rw-rw-rw-  1 Alan   40960 Jan 21 02:54 movie.mpg
-rw------O  1 Alan   32254 Jan 11 12:55 offline.dat
-rwxrwxr-x  1 Alan      10 Jan 29 00:47 prog.exe
-rw-r--r--  1 Ginger   434 Jan 31 18:05 recent
Srw-------  1 Ginger 32254 Jan 11 12:55 sparse-file
lrw-rw-rw-  1 Ginger     0 Jan 12 09:32 x-broken.lnk

ls uses the native Windows API to get the fastest possible performance. You can view all the files in \Windows\System32 (several thousand files) over a network LAN in just a few seconds.

ls can be customized to change colors, verbosity, layout, sorting, annotation, and level of detail.

See the documentation for details.

Compatible Platforms
Windows 11 Yes
Windows 10 Yes
Windows 8.1 Yes
Windows 8 Yes
Windows 7 Yes
Windows Vista Yes
Windows XP Yes
Windows 2000 Yes
NT 4 Yes
95/98/ME Yes



Download ls

Download the source code (GitHub).

See Also

See also U-Recover for Windows Previous File Versions and U-Move for Active Directory.