Checking for file existence

(imported topic written by mPenuel91)

I know I’m missing something simple here, but can’t figure it out. I need to check for the existence of a file with the current month in the name and obviously I don’t want to have to change the relevance each time an action is issued (monthly action). Here’s my attempt:

Q: exists file “C:\temp\UpdatesCS5_” & month of current date & “.txt”

E: The operator “concatenate” is not defined.

What do I need here? I’m feeling like a noob.

Thanks in advance

(imported comment written by JasonHonda)

It’s trying to concatenate things that are not the same type. Need to make the month a string using as string.

Q: exists file “C:\temp\UpdatesCS5_” & month of current date as string & “.txt”

(imported comment written by mPenuel91)

that worked - thanks!