Hi folks.
Is it possible to use an IF OR statement? I want to check for the presense of file_A OR file_B. If either one of them exists, THEN...
So, it looks like..
but that does not work. Am I doing something wrong?
Is it possible to use an IF OR statement? I want to check for the presense of file_A OR file_B. If either one of them exists, THEN...
So, it looks like..
Code:
set fso = CreateObject("Scripting.FileSystemObject")
if not fso.FileExists(file_a) OR fso.FileExists(file_b) Then
..
but that does not work. Am I doing something wrong?