J
Jonathan Dale
I am fairly new to ruby and am working with windows xp. I'm trying to
copy files from one directory to another using the FileUtils module.
When I run the program, I get a Permission Denied error (EACCES). Any
thoughts on how to get this to work?
files.each do |f|
next if f == "." or f == ".."
FileUtils.copy(dir,newdir)
end
Thanks in advance for any help.
jjd
copy files from one directory to another using the FileUtils module.
When I run the program, I get a Permission Denied error (EACCES). Any
thoughts on how to get this to work?
files.each do |f|
next if f == "." or f == ".."
FileUtils.copy(dir,newdir)
end
Thanks in advance for any help.
jjd