Hello,
I have a directory on a fax server that will remain constant. The faxed in image files (.tif) in this directory are processed through an imaging application. I've created a script that reads the directory and creates the feed to the application. However, I want to check the directory for the existence of files before it proceeds with the rest of the script.
Seems like it should be simple but can't get it. I believe it's due property of the file collection.
Dim objFSO, FxFiles
Set objFSO = CreateObject("Scripting.fileSystemObject"
Set FxFiles = objFSO.GetFiles("c:\infax\*.tif"
If FxFiles = "" Then
GoTo NoFiles
Else
GoTo WrkFiles
End If
Appreciate any help and the expertise all of you offer!
I have a directory on a fax server that will remain constant. The faxed in image files (.tif) in this directory are processed through an imaging application. I've created a script that reads the directory and creates the feed to the application. However, I want to check the directory for the existence of files before it proceeds with the rest of the script.
Seems like it should be simple but can't get it. I believe it's due property of the file collection.
Dim objFSO, FxFiles
Set objFSO = CreateObject("Scripting.fileSystemObject"
Set FxFiles = objFSO.GetFiles("c:\infax\*.tif"
If FxFiles = "" Then
GoTo NoFiles
Else
GoTo WrkFiles
End If
Appreciate any help and the expertise all of you offer!