|
IDL Reference Guide: Procedures and Functions |
|
The PATH_SEP function returns the proper file path segment separator character for the current operating system. This is the character used by the host operating system for delimiting subdirectory names in a path specification. Use this function instead of hard-coding separators to make code more portable.
This routine is written in the IDL language. Its source code can be found in the file path_sep.pro in the lib subdirectory of the IDL distribution.
Result = PATH_SEP( [, /PARENT_DIRECTORY] [, /SEARCH_PATH] )
Returns a string containing the specified separator character.
None.
Specify at most one of the following keywords:
If set, PATH_SEP returns the standard directory notation used by the host operating system to indicate the parent of a directory.
If set, PATH_SEP returns the character used to separate entries in a search path.
FILE_BASENAME, FILE_DIRNAME, FILE_SEARCH, FILEPATH
IDL Online Help (March 06, 2007)