Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel eScript Language Reference > C Language Library Reference > Clib File and Directory Methods > Clib Get Current Working Directory MethodThe Clib Get Current Working Directory method returns the entire path of the current working directory. The default current working directory is the directory where you install the Siebel application. If a script uses the Clib Change Directory method or a similar method to change the current working directory, then the current working directory returns to the original value after the script finishes. FormatExampleThe following example displays the current directory in a message box. The script then makes the root directory the current directory, creates a new directory, removes that directory, and then attempts to make the removed directory current: var currDir = Clib.getcwd(); This example displays the following output:
|
![]() ![]() |
Siebel eScript Language Reference | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |