Page 1 of 1

Does File Exist with wildcard

Posted: Thu Sep 15, 2016 7:11 am
by mdavtec
I'm adding code to copy files, if exists, to a backup folder. I want to check if a folder has any file with .log extension. I'm trying to use "Does File Exist" with wildcard (*.log). but it doesn't like it. Any alternative to "Does File Exist" command? Any suggestion?

Thanks

Re: Does File Exist with wildcard

Posted: Thu Sep 15, 2016 11:25 am
by FrancescoT
Dear Mdavtec,

of course you cannot use Wildcards with the "Does File Exist" command.

You should use the "Find All Files" command instead ... and this will accept wildcards.

Hope this helps you.

Regards