Differences
This shows you the differences between the selected revisions of the page.
scriptcommand_lls 2013-05-15 | 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. | ||
Line 8: | Line 8: | ||
===== Remarks ===== | ===== Remarks ===== | ||
- | 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. | + | If ''directory'' is not specified, lists working directory. When ''wildcard'' ((The Windows wildcard supports ''*'' 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 20: | 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 [[library_powershell|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>microsoft.powershell.management/get-childitem|Get-ChildItem]]'' cmdlet. |