@DirParent

Parent Previous Next

@DirParent.

Returns a full path to the parent directory.


Syntax.


 @DirParent(String path) : String

 


Arguments:


Example:


 String dir := "c:\test1\test2";

 dir := @DirParent(dir); //Now dir == "c:\test1";

 dir := @DirParent(dir); //Now dir == "c:\";