- Set objFSO = CreateObject("Scripting.FileSystemObject")
- Set objFolder = objFSO.GetFolder("D:\testing folder")
- For Each objFile In objFolder.Files
- MsgBox Cstr(objFile)
- Next
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Parth DaveRank #4,639 · 333 reputationPosted May 7, 2017, 9:14 PM EDT
Dinesh SanthalingamRank #2,085 · 690 reputationPosted May 7, 2017, 9:25 PM EDT