Differences

This shows you the differences between the selected revisions of the page.

scriptcommand_lls 2013-04-30 scriptcommand_lls 2020-05-29 (current)
Line 1: Line 1:
-====== lls ======+====== lls command ======
Lists the contents of local directory. Lists the contents of local directory.
 +
 +===== Syntax =====
  lls [ <directory> ]\[ <wildcard> ]   lls [ <directory> ]\[ <wildcard> ]
-If ''directory'' is not specified, lists working directory. When ''[[file_mask|wildcard]]'' is specified, it is treated as set of files to list. Otherwise, all files are listed.+===== Remarks ===== 
 + 
 +If ''directory'' is not specified, lists working directory. When ''wildcard&#039;' ((The Windows wildcard supports &#039;'*'' and ''?'' only.)) is specified, it is treated as set of files to list. Otherwise, all files are listed. 
 + 
 +Effective [[scriptcommand_option|options]]: ''[[scriptcommand_option#failonnomatch|failonnomatch]]''
===== Examples ===== ===== Examples =====
<code winscp> <code winscp>
lls *.html lls *.html
 +</code>
 +<code winscp>
lls d:\ lls d:\
 +</code>
 +<code winscp>
lls lls
</code> </code>
Line 16: Line 26:
There is no equivalent for ''lls'' command in [[library|.NET assembly]]. There is no equivalent for ''lls'' command in [[library|.NET assembly]].
-You can make use of local directory listing functions of your runtime environment. In .NET framework, you can use ''[[msdn>System.IO.Directory.GetFiles]]''. In PowerShell, you can use also ''[[http://technet.microsoft.com/en-us/library/ee176841.aspx|Get-ChildItem]]'' cmdlet.+You can make use of local directory listing functions of your runtime environment. In .NET framework, you can use ''[[dotnet>System.IO.Directory.GetFiles]]''. In [[library_powershell|PowerShell]], you can use also ''[[ps&gt;microsoft.powershell.management/get-childitem|Get-ChildItem]]'' cmdlet.

Last modified: by martin