Created
January 29, 2025 14:44
-
-
Save LesFerch/78423d9c83cd8d22ed52d9184add3d14 to your computer and use it in GitHub Desktop.
Using FSO in VBScript to Iterate through files in folder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set oFSO = CreateObject("Scripting.FileSystemObject") | |
Set oFolder = oFSO.GetFolder("C:\Test") | |
For Each oFile In oFolder.Files | |
WScript.Echo oFile.Name | |
Next |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment