lc is an alternative to the UNIX ls command and the Windows dir command. It distinguishes its output by type -- generally files or directories. On Windows systems, hidden and read-only files and directories are shown separately. On UNIX and POSIX-compliant systems, device-special files are also shown separately. lc displays names in columns, sorted horizontally.
displays all files and directories including those whose names begin with ".". File and directory names beginning with . are not usually shown.
displays directories only.
displays files only.
suppresses all output. This is useful when you only want to use the exit status.
displays one file per line.
Possible exit status values are:
lc successfully found files under the specified directory and displayed their names.
- 1 directory
contains no files or subdirectories. For example, you can use the option combination
-ndto determine if a directory has any subdirectories.
Failure because of an invalid command line option or insufficient memory.
Under rare conditions, lc cannot identify the type of a file. Such files are listed under the category **GOK**.
Windows Server 2012. Windows 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019. A frequent add-on to UNIX systems.
PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.3 Documentation Build 39.