This is an old revision of the document!

lls

Lists the contents of local directory.

Advertisement

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.

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.

Advertisement

  1. Windows wildcard supports * and ? only. It does not support all the features of file masks.Back

Last modified: by martin