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

Overview of Clib File and Directory Methods


Siebel eScript can interpret a backslash (\) as a character combination. If you create a Windows path name, then you must include two backslashes to prevent this interpretation. For example:

  • To change the working directory to C:\Applications\Myfolder, you use the following command:

    Clib.chdir("C:\\Applications\\Myfolder");

  • To use a UNC path to access a computer on your network, use four backslashes (\\\\) before the computer name:

    Clib.system("copy \\\\server01\\share\\SR.txt D:\\SR.txt ");

For general usage information that applies to these methods, see Overview of Clib File Input and Output Methods.

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