updating oE pathname


include filesys.e 
namespace filesys 
public function pathname(sequence path) 

returns the directory name of a fully qualified filename.

  1. path : the path from which to extract information
  2. pcd : If not zero and there is no directory name in path then "." is returned. The default (0) will just return any directory name in path.

A sequence, the full file name part of path.


The host operating system path separator is used.

Example 1:
fname = dirname("/opt/euphoria/docs/readme.txt") 
-- fname is "/opt/euphoria/docs" 
See Also:

driveid, filename, pathinfo

Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu