On Wed, Oct 7, 2009 at 6:19 AM, Ahmet Kilic <ahmedkilic / gmail.com> wrote: > I am using cygwin on windows. > I write this script. I have to split all files in the > directory. > > Dir.foreach('C:/tmp/test') {|file| > ¨Β σωστενΆσπμιτ μ ¶°°°£ϋζιμεύΆ> ¨ΒυτΆζιμ ¨Βαν£ϋζύ> } > > I want to split the files > file1-1.txt > file1-2.txt > file1-3.txt > .... > > how can i do it ? > > please help me. What (incorrect) output does your current script produce?