ERROR
ArcView returns this error when running an Avenue script that contains the System.Execute request:
"{path to executable file}" does not contain a valid path
This error is caused by sending an argument to the application from the System.Execute request encased in an extra set of double quotes. For example:
arg1 = "c:\temp\test.exe /0"
arg2 = arg1.quote
System.Execute(arg2)
Code:
arg1 = "c:\temp\test.exe"
arg2 = arg1.quote
System.Execute(arg2)
Code:
arg1 = "c:\temp\test.exe /0"
System.Execute(arg1)
Note:
Change the path in the sample to the actual path of an executable that resides on your computer.
Article ID:000002515
Get help from ArcGIS experts
Download the Esri Support App