Siebel eScript Language Reference > C Language Library Reference > Clib File and Directory Methods >

Clib Create Directory Method


The Clib Create Directory method creates a directory. It returns one of the following values:

  • If successful, then it returns the following value:

    0

  • If not successful, then it returns the following value:

    negative 1

Format

Clib.mkdir(dirpath)

Table 132 describes the arguments for the Clib Create Directory method.

Table 132. Method Arguments for the Clib Create Directory
Argument
Description

dirpath

A string that contains a valid directory path. This directory can be an absolute path or a relative path.

This method uses this string to create the directory. If you do not specify the dirpath argument, then it creates the directory in the C:\siebel\bin directory.

Siebel eScript Language Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.