script64

This command uses the same syntax as the script command, but places a call to Wow64DisableWow64FsRedirection before executing the script. This allows you to issue a native 64-bit script command, bypassing Windows 32-bit environment built on top of 64-bit processors.

This command executes an external script with the given name. This can be used to run a script created for a scripting language like JavaScript or Visual Basic.

The action containing the script64 keyword will terminate if the appropriate scripting engine is not installed or if the script cannot be executed. The next line of the action is not executed until the specified script terminates.

Version Platforms
8.0.584.0 Windows

Syntax

script64 <script-name>

Examples

Run the Visual Basic script attrib.vbs in native 64-bit mode.

script64 attrib.vbs

Notes

This command is Windows-only. It will cause an action script to terminate on a Unix agent.

On a Windows computer, this command has the same effect as calling Wow64DisableWow64FsRedirection, then issuing a wscript "scriptName" statement from Windows using wscript.exe, and then waiting for completion.