home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / SYSTEM / DSKUTL11.ZIP / LS.MAN < prev    next >
Encoding:
Text File  |  1991-06-29  |  2.6 KB  |  133 lines

  1.      ls (local)               Disk Utilities v1.1                ls (local)
  2.  
  3. NNAAMMEE 
  4.           ls -  This  program  is  a  directory  listing  utility.  It
  5.      emulates a few of the UNIX ls functions.  
  6.  
  7.  
  8. SSYYNNOOPPSSIISS 
  9.           ls [-acehlr] <file> [file ...] 
  10.  
  11.  
  12. EENNVVIIRROONNMMEENNTTSS 
  13.  
  14.           Options  for  this  program  will  also  be  looked  for  in
  15.      command.com's environment.    This  is  done with the set command
  16.      (e.g. set ls=la causes ls to always use the options la).  
  17.           If the ls.exe file is copied to a new name,  some  automatic
  18.      options  will  be  used.    The  following  lists  the  names and
  19.      equivalant commands: 
  20.           la.exe = ls.exe -ac 
  21.           lf.exe = ls.exe -c 
  22.           ll.exe = ls.exe -acl 
  23.  
  24.  
  25. OOPPTTIIOONNSS 
  26.  
  27.      a - Display all files (including hidden and  dot).    This  means
  28.      that  the  directories  "." and ".." will be displayed along with
  29.      any hidden files such as ibmbio.com or ibmdos.com.  
  30.  
  31.      c -  Display  files  in  alphabetical  order.    When   used   in
  32.      conjunction  with the -r command, the recursive display will also
  33.      be in alphabetical order.  
  34.  
  35.      e - Display files in alphabetical order,  sorting  by  extension.
  36.      Files  without extensions (usually directories) will be displayed
  37.      first, followed by the sorted list of files.  
  38.  
  39.      h - Display help (show command format).  
  40.  
  41.      l - Output in long format.  This causes the output to be somewhat 
  42.      like the 'dir' command except that  more  information  is  shown.
  43.      The  permissions, names, size, and date are all displayed.  
  44.  
  45.      r -  Recursively  display  directories (subdirs, subfiles).  This
  46.      causes all files and  directories  to  be  shown.    The  current
  47.      directory will be first followed by each subdirectory.  
  48.  
  49.  
  50. EEXXAAMMPPLLEESS 
  51.  
  52.           ls -c 
  53.      List the current directory in alphabetical order.  
  54.  
  55.           ls -la 
  56.      List all files in the current directory in the long format.  
  57.  
  58.           ls -cfr c:\ d:\ 
  59.      List  all  files  on  the  c drive in alphabetical order then all
  60.      files on the d drive in alphabetical order.  
  61.  
  62.           ls *.com *.obj *.exe 
  63.      List files in current directory ending with .com .obj or .exe.  
  64.  
  65.                                       -1-
  66.  
  67.      ls (local)               Disk Utilities v1.1                ls (local)
  68.  
  69. BBUUGGSS 
  70.  
  71.           None that I know of!  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.                                       -2-
  132. !
  133.