laptop and a wrench

漏洞

There is an error running geoprocessing VB script using cscript with ArcGIS Version 10 installed.

上次发布: August 25, 2014 ArcGIS for Desktop
漏洞 ID 编号 NIM076059
已提交December 8, 2011
上次修改时间June 5, 2024
适用范围ArcGIS for Desktop
找到的版本10.0
操作系统Windows OS
操作系统版本XP
状态Will Not Be Addressed

附加信息

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.

解决办法

1. Use wscript, and replace the wscript.echo statements with statements that alternatively output to a text file.For instance, use:Dim filesys, cmdWindowOutput Set filesys = CreateObject("Scripting.FileSystemObject") Set cmdWindowOutput= filesys.CreateTextFile("cmdoutput.txt", True) ...replace : WScript.Echo "Successful execution"...with : cmdWindowOutput.WriteLine "Successful execution"...and then close the file : cmdWindowOutput.Close2. Use from the command line:wscript //B scottsScript.vbs where the //B parameter suppresses command prompts - therefore wscript WILL run through successfully, although there is no command line output; This is not a great workaround - as some form of output is required.

重现步骤

漏洞 ID: NIM076059

软件:

  • ArcGIS for Desktop

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项