Sha256: b7a76603f81dcda931741b9e3d0b59c308dbfe36672d8b7dd184951abe1d7db9

Contents?: true

Size: 201 Bytes

Versions: 6

Compression:

Stored size: 201 Bytes

Contents

require 'win32ole'

fso = WIN32OLE.new('Scripting.FileSystemObject')
folder = fso.GetFolder('C:/') 
folder.SubFolders.each { |file| puts file.Path + '\\' }
folder.Files.each { |file| puts file.Path }

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jruby-win32ole-0.8.5 samples/file_system_object.rb
jruby-win32ole-0.8.4 samples/file_system_object.rb
jruby-win32ole-0.8.3 samples/file_system_object.rb
jruby-win32ole-0.8.2 samples/file_system_object.rb
jruby-win32ole-0.8.1 samples/file_system_object.rb
jruby-win32ole-0.8.0 samples/file_system_object.rb