Skip to content

ZosUnixFolder

The ZosUnixFolder object represents a single user-defined Unix folder. A Unix folder is a local Windows alias for a Unix directory. This is conceptually similar to a Unix symbolic link, but the Unix folder is user-specific and is known only on the user’s Windows machine. Unix folders can only be created at the root directory level, but they can refer to directories at any level.

Unix folder names must begin with “!” to distinguish them from Unix directories, files, or symbolic links. Therefore, Unix directories or symbolic links in the root directory cannot begin with “!”. This naming restriction applies only to the root directory level.

This object can be obtained using the UnixFolder property of ZosServer or the Item property of ZosUnixFolders.

ZosUnixFolder Properties

ZosUnixFolder exposes the following properties:

Property Type R/W Description
Name String R Name of the folder.
Path String R Full path name of the folder.
TargetPath String R/W Unix path name for the directory represented by this folder.
TargetDirectory ZosUnixDirectory R Unix directory object for the directory represented by this object

...

ZosUnixFolder Methods

ZosUnixFolder exposes the following methods:

Delete Method

Deletes the folder.

void  Delete() 

Rename Method

Renames the folder.

void Rename(  
        String newName  
        ) 

...

Back to top