lls

Lists the contents of local directory.

Syntax

lls [ <directory> ]\[ <wildcard> ]

Remarks

If directory is not specified, lists working directory. When wildcard1 is specified, it is treated as set of files to list. Otherwise, all files are listed.

Advertisement

Effective options: failonnomatch

Examples

lls *.html
lls d:\
lls

Converting to .NET Assembly

There is no equivalent for lls command in .NET assembly.

You can make use of local directory listing functions of your runtime environment. In .NET framework, you can use System.IO.Directory.GetFiles. In PowerShell, you can use also Get-ChildItem cmdlet.

  1. The Windows wildcard supports * and ? only.Back