laptop and a wrench

Bug

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

Last Published: August 25, 2014 ArcGIS for Desktop
Bug ID Number NIM076059
SubmittedDecember 8, 2011
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.0
Operating SystemWindows OS
Operating System VersionXP
StatusWill Not Be Addressed

Additional Information

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.

Workaround

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.

Steps to Reproduce

Bug ID: NIM076059

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options