Search found 2 matches

by cglism
Fri Jun 14, 2019 11:36 pm
Forum: General
Topic: Copy Folder and Sub folder with ruby
Replies: 3
Views: 10647

Re: Copy Folder and Sub folder with ruby

thank you trogluddite . robocopy it work :D :D
by cglism
Fri Jun 14, 2019 8:34 am
Forum: General
Topic: Copy Folder and Sub folder with ruby
Replies: 3
Views: 10647

Copy Folder and Sub folder with ruby

i try to copy folder and sub with ruby code in external it work
in .rb code is simple
require 'fileutils'
FileUtils.cp_r "C:/Test/.", "C:/out"

when i try in flowstone i cant what my wrong?

require 'FileUtils'
def event i
if i=='click'
FileUtils.cp_r(@src_path, @out_path)
end
end