Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Hoe to test if a file exist

Hi folks, does anybody know how to validate if a file exist. Actually, all the script using a state in a xml file, doesn't test is this mlx file exist or if the content of the file is well formated. I made many test with the "exception goto" but it doesn't work. If the file is not ok the script crash.

How to do that ? I'm running IPCX 4.0sr1

2 REPLIES
Silver

Re: Hoe to test if a file exist

New Member

Re: Hoe to test if a file exist

Thanks, I'm using "on Exception(documentException) Goto" and it works great.

107
Views
0
Helpful
2
Replies