InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.0: About user assistance >
6.6.0.2: Command line administration >
6.6.0.2.2: WebSphere Control Program (wscp) >
6.6.0.2.2.2: Command syntax and usage >
6.6.0.2.2.2.7: Running scripts
6.6.0.2.2.2.7: Running scripts
To execute a wscp script from the command line, specify the -f
option and the name of the executable file that contains the script.
For example, the following command executes the script in the
modEnv.tcl file.
C:\> wscp -f modEnv.tcl
To execute a script from within an interactive wscp session, use
the Tcl source command to source the script. The following
command runs the script in the file myScript.tcl:
wscp> source myScript.tcl
|
|