laptop and a wrench

Bogue

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

Dernière publication: August 25, 2014 ArcGIS for Desktop
Numéro d’ID de bogue NIM076059
EnvoiDecember 8, 2011
Dernière modificationJune 5, 2024
S’applique àArcGIS for Desktop
Version trouvée10.0
Système d’exploitationWindows OS
Version du système d’exploitationXP
StatutWill Not Be Addressed

Informations supplémentaires

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.

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: NIM076059

Logiciel:

  • ArcGIS for Desktop

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement