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.