# coyote: CGADDTOPATH

- coyote/Utilities
- [Source code]

Description

      Adds a directory to the beginning of the !PATH system variable.

Categories

      Utility

Params

      theDirectory: in, optional, type=string
         The name of the directory to add to !PATH. If missing, the current directory.

Keywords

      verbose: in, optional, type=boolean
        Set this keyword if you wish to receive confirmation of action.

Examples

      For example, to add a "programs" directory to the IDL path::
         cgAddToPath, '/usr/david/IDL/programs/'

Author

      FANNING SOFTWARE CONSULTING::
         David W. Fanning
         1645 Sheely Drive
         Fort Collins, CO 80526 USA
         Phone: 970-221-0438
         E-mail: david@idlcoyote.com
         Coyote's Guide to IDL Programming: http://www.idlcoyote.com

History

      Written, 20 Sept 2010.

Copyright

      Copyright (c) 2010, Fanning Software Consulting, Inc.