Scripting Host Functions

The following table shows intrinsic functions that you can use within a script file that Cescript.exe executes.

Function Description
_Alert Displays a message box on the screen of the target device.
_BuildVersion Obtains the version number for the Scripting Host tool.
_CreateLogObject Creates a log object.
_DisplayMsg Displays a message box on the screen of the target device.
_Exec Runs an executable file.
_GetCPU Obtains the name of the CPU for the target device.
_GetOSVer Obtains the name and version number of the OS.
_Kill Terminates a process.
_LangHost Obtains a locale identifier.
_LogMemUse Processes information to be logged about memory usage.
_MsgBox Displays a message box with OK and Cancel buttons on the target device.
_Name Obtains the descriptive name of the Scripting Host tool.
_NewScriptThread Runs a new script thread.
_OutputDebugString Sends a debug message to the debugger.
_ReleaseThenLaunch Terminates the current thread, releases all script objects, waits for a specified amount of time, and then runs a specified script on the same thread.
_SignalEvent Signals a global event.
_Sleep Instructs the system to sleep for a specified length of time.
_StrConv Converts the casing of text in a string.
_WriteLocalLog Sends a debug message to the .log file for Cescript.exe.

See Also

Running the Scripting Host Tool | Scripting Host Tool

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.