How can use on error goto in vbscript.because i need to jump to the last part where it picks the next file.
For Each file In f.Files
IF length_of_document_name < 10 THEN
error_descr ="Error"
error_capture_date =date
On ERROR GOTO 99
END IF
------- some other statement
------some other statement
-------some other statement
99
Next
For Each file In f.Files
IF length_of_document_name < 10 THEN
error_descr ="Error"
error_capture_date =date
On ERROR GOTO 99
END IF
------- some other statement
------some other statement
-------some other statement
99
Next