Microsoft scripting runtime references for mac

broken image
broken image

Set objFolder = objFSO.GetFolder(objStartFolder)Īs you can see, there really isn’t much to this.

broken image

This script reports back the file name of all the files found in the folder C:\Scripts: Set objFSO = CreateObject(“Scripting.FileSystemObject”)

broken image

Let’s start with the easy one: a script that simply lists all the files in a folder. Your questions are the perfect lead-in to that explanation. We also promised that, in today’s column, we’d explain how we managed to get a list of all the files in a folder in the first place. Yesterday we showed everyone a script that changed all the files in a folder from read-only to read-write. Hey, Scripting Guy! How can I use a script to show me all the files in a folder? And then how can I modify that script so it shows me all the files in any subfolders of that folder?