Trying to call a WScript on a Windows2000 machine.
Test2.vbs
Set WshShell = WScript.CreateObject("WScript.Shell")
Set WshSysEnv = WshShell. Environment ("PROCESS")
WScript.Echo WshSysEnv("GMPROJECT")
WScript.Echo WshSysEnv("PATH")
getting the following error
Error
An error occurred while processing your request:
File: gmtest.taf
Position: External
Class: Internal
Main Error Number: -1033
Unable to execute command line external action. Command: "C:\mypath\Test2.vbs" GMPROJECT ; Code: 193; Error: %1 is not a valid Win32 application.
File: gmtest.taf
Position: External
Class: Internal
Main Error Number: -101
General error during data source operation.
File: gmtest.taf
Position: External
Class: Internal
Main Error Number: -101
General error during data source operation.
Why is it trying to execute %1?
Or am I totally off on how to go about this. I'm trying to reference the PATH variable and a variable i'm declaring in the external action GMPROJECT.
Any suggestions?
