script64

Script64 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.

The script keyword executes an external script (created in a scripting language like JavaScript or Visual Basic) with the given name. The action script containing the script keyword will terminate if the appropriate scripting engine is not installed or if the script cannot be executed. The next line of the action Shell Command is not executed until the specified script terminates.

Syntax

script64 <script name>

Example

script64 attrib.vbs 

Runs the Visual BASIC script attrib.vbs in native 64-bit mode.

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 and then issuing a wscript "scriptName" statement from Windows.

Version 6.0 and above -- Windows Only