I'm importing some txt/excel files but I want to know if they exist otherwise not try to import them.
Thanks.
I'm importing some txt/excel files but I want to know if they exist otherwise not try to import them.
Thanks.
Did the answer by @phil.bobo below, answer the question that you had? If so, please click on the "Accept" link and the end of the answer. If not, please explain to us in a little more detail what it is that you are wanting to do.
I'm sorry for the delay Jeff, it worked properly. Thank you.
Use the fileexists() command.
Thanks Phil, that's what I wanted, actually I used it in the past and forgot it's existence.
Thank you.
14 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved