Chapter 3 DynaScript Predefined Objects
Provides functionality for interacting with the server's operating system environment.
To use a system property:
system.propertyName
To use a system method:
system.MethodName( parameter )
The system object is provided for you.
This example modifies the system path.
<--SCRIPT
// Adds e:\src to the Environment System Path
path = system.GetEnv( "PATH" );
path = path + "e:\src;";
system.SetEnv( "PATH", path, true );
-->
Copyright © 1999 Sybase, Inc. All rights reserved. |