Previous Next        Current Page: NeXtMidas Training / Working with Files / File Names / Name and Path
back
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   
   + Lab 1   
   - File Names   
      - Name and AUX   
      - Name and Path   
      - Package Syntax (nxm.)   
      - URLs   
      - Advanced   
   + 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   
WebStart   
Maps & Imagery   
X-Midas Interoperability   
RMIF & Remoting   
Installing NeXtMidas   
Support & Maintenance   
File Handlers   


  • Accessing Files by Name and Path:
    • Files can be accessed by their full name, but this makes for less portable code.
      nM> plot ^{env.nmroot}/nxm/sys/dat/world.prm
      <Plots the world.prm file>
    • In most cases it is best to define an appropriate AUX and then use the <filename>{AUX=<aux>} syntax.
      nM> plot world.prm{AUX=DAT}
      <Plots the world.prm file>
    • Important Note For Windows Users: There are a few special issues regarding path names on Windows. Please see the AUX explain file for details.

back