Revision [122]

This is an old revision of CommandXls made by DavidLee on 2008-04-25 18:49:41.

 

Command xls


Name

xls List files in a directory

Synopsis

xls [directory]

Description

Lists the files in the supplied directory or the current directory.
Outputs the list using the File schema.

Example:
$ xls .
<command>
   <file name=".classpath" path="C:\p4dell\DEI\xmlsh\.classpath"/>
   <file name=".project" path="C:\p4dell\DEI\xmlsh\.project"/>
   <file name=".settings" path="C:\p4dell\DEI\xmlsh\.settings"/>
   <file name="3rdparty" path="C:\p4dell\DEI\xmlsh\3rdparty"/>
   <file name="bin" path="C:\p4dell\DEI\xmlsh\bin"/>
   <file name="build.xml" path="C:\p4dell\DEI\xmlsh\build.xml"/>
   <file name="doc" path="C:\p4dell\DEI\xmlsh\doc"/>
   <file name="lib" path="C:\p4dell\DEI\xmlsh\lib"/>
   <file name="license.txt" path="C:\p4dell\DEI\xmlsh\license.txt"/>
   <file name="schemas" path="C:\p4dell\DEI\xmlsh\schemas"/>
   <file name="src" path="C:\p4dell\DEI\xmlsh\src"/>
   <file name="test" path="C:\p4dell\DEI\xmlsh\test"/>
   <file name="unix" path="C:\p4dell\DEI\xmlsh\unix"/>
   <file name="util" path="C:\p4dell\DEI\xmlsh\util"/>
   <file name="win32" path="C:\p4dell\DEI\xmlsh\win32"/>
   <file name="x.xquery" path="C:\p4dell\DEI\xmlsh\x.xquery"/>
   <file name="_dist" path="C:\p4dell\DEI\xmlsh\_dist"/>
   <file name="_out" path="C:\p4dell\DEI\xmlsh\_out"/>
</command>



Return Value

Returns 0 if the directory exists and is read successfully, otherwise 1.

CategoryCommands

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki