question

Steven Chen avatar image
0 Likes"
Steven Chen asked Joerg Vogel answered

Check if directory exists

Hello,

Is there a command to check if a directory/folder exists?

FlexSim 22.0.1
applicationcommand
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

Try it with getfilesindirectory

https://docs.flexsim.com/en/22.1/Reference/CodingInFlexSim/CommandReference/Commands.html#getfilesindirectory

If the list of directories applied by correct parameters, does not contain your directory, you have your answer.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.