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
Does File Exist with wildcard
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Does File Exist with wildcard
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
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
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 328 guests