Previous Next        Current Page: NeXtMidas Training / Working with Files / Basic File Commands / FILES - Finding files
Start Here   
Background   
Common Midas Concepts   
Getting Started - Part 1   
Getting Started - Part 2   
Working with Files   
   - File Basics   
   + The AUX List   
   - Basic File Commands   
      - FILES - Finding files   
      - FNAME - Forming file names   
      - STATUS - Listing file headers   
      - DATALIST - Listing file data   
      - HEADERMOD - Modifying file headers   
      - FILE - Modifying file data   
   + Lab 1   
   + File Names   
   + File Types   
   + Lab 2   
   + Listing Files   
   + Lab 3   
   + Plotting Files   
   + Lab 4   
Option Trees   
Macros - Part 1 (Basics)   
Macros - Part 2 (Graphics)   
NetBeans - Part 1 (Setup)   
NetBeans - Part 2 (GUIs)   
NetBeans - Part 3 (Profiler)   
Eclipse - Part 1 (Setup)   
Eclipse - Part 2 (GUIs)   
Primitives   
Applets & WebStart   
Maps & Imagery   
X-Midas Interoperability   
RMIF & Remoting   
Installing NeXtMidas   
Support & Maintenance   
File Handlers   


  • The FILES Command:
    • The FILES command is used to find files in the AUX list.
    • The output can be filtered by the root name, extension or AUX name.
    • The /H switch can be used to show some of the key attributes of each file listed, such as: Type, Format, number of elements and number of data bytes. For example:
    • nM> files/h aux=dat
      Auxiliary [DAT] = /home/burdell/nxm230/nxm/sys/dat/   (24 files)
       Type  Form   Elements   Data Bytes  Filename
       ------------------------------------------------------
       2000  SI         301.0      211302  alaska.prm
       2000  SI          31.0        2232  alaskat.prm
       2000  SI         360.0      519120  altitude.prm
       1999  CF       13550.0      108400  world.prm
       5010  NH         156.0        4992  capital_cities.prm
       5010  NH         618.0       19776  cities.prm
       TEXT                         38496  cities.txt
       5000  NH           1.0          80  cone5000.prm
       5000  NH           3.0         264  coneflags5000.prm
       5001  NH           9.0        1080  ellipse5000.prm
       5000  NH           9.0        1152  ellipseflags5000.prm
       ...
    • See the FILES explain file for more information.
X-Midas Users Take Note:
Like most commands in NeXtMidas, the FILES command can be used with both Midas files and non-Midas files alike.