Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder("C:\my_folder\")
folder_name = objfolder.name
icon = vbquestion
For Each aFile In objFolder.Files
the_file = afile.name
if left(the_file, 3) = "gwe" then
msgbox "found gwe.... something"
ans = msgbox("is this the file?"& vbcrlf & the_file, vbyesnocancel + icon)
if ans = vbyes then
file_found = "yes"
exit for
end if
if ans = vbcancel then
exit for
file_found = "no"
end if
end if
Next
if file_found = "yes" then
msgbox "found the file: " & the_file
'this is where you do your operation on the file.
end if