VOOZH about

URL: https://winscp.net/eng/docs/scriptcommand_lls

⇱ lls command :: WinSCP


Lists the contents of local directory.

Advertisement

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

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.

Effective options: failonnomatch

lls *.html
lls d:\
lls

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

Advertisement

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