_ReleaseThenLaunch (Windows CE 5.0)

Send Feedback

This function 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.

void _ReleaseThenLaunch(  long msDelay,  BSTR FileName,  BSTR EntryFunction);

Parameters

  • msDelay
    Length of time to wait, in milliseconds.
  • FileName
    File name for the script.
  • EntryFunction
    Optional. Entry function for the script.

Remarks

You can call this function from a script that Cescript.exe executes.

Requirements

OS Versions: Windows CE .NET 4.2 and later.

See Also

Scripting Host Functions | Scripting Host Tool

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.