I've now tried unsuccessfully to use:
If FILE_SIZE('C:\AwareIM\UNSENT_EMAIL')>0 Then
SEND OutgoingEmail_Unsent_Emails_Exist TO SystemSettings
DISPLAY MESSAGE 'Unsent email file size:'+FILE_SIZE('C:\AwareIM\UNSENT_EMAIL')
No matter what folder I check with FILE_SIZE, I get a size of 4096.
I even checked the folder - C:\AwareIM and got 4,096 as well.
1) Has anyone successfully used FILE_SIZE to retrieve the size of a directory?
2) Suggestions for alternative ways to check for the existence of files in the UNSENT_EMAIL folder?