2 # You need WSH(Windows Scripting Host) to run this script.
14 fs = WIN32OLE.new("Scripting.FileSystemObject")
16 folder = fs.GetFolder(".")
18 puts "--- folder of #{folder.path} ---"
19 listup(folder.SubFolders)
21 puts "--- files of #{folder.path} ---"