laptop and a wrench

Bug

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

Zuletzt veröffentlicht: August 25, 2014 ArcGIS for Desktop
Bug-ID-Nummer NIM076059
EingereichtDecember 8, 2011
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS for Desktop
Gefunden in Version10.0
BetriebssystemWindows OS
BetriebssystemversionXP
StatusWill Not Be Addressed

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: NIM076059

Software:

  • ArcGIS for Desktop

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln