04-18-2010, 03:01 PM
Try
Code:
file = File.open("Text", "rb")
file.each_line {|line|
eval(line)
}
file.close
Can I execute a txt file from a script?
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
Can I execute a txt file from a script? - by deValdr - 04-18-2010, 12:02 PM
[Resolved] Can I execute a txt file from a script? - by Charlie Fleed - 04-18-2010, 03:01 PM
[Resolved] Can I execute a txt file from a script? - by deValdr - 04-18-2010, 05:04 PM
[Resolved] Can I execute a txt file from a script? - by vgvgf - 04-18-2010, 05:52 PM
[Resolved] Can I execute a txt file from a script? - by deValdr - 04-18-2010, 06:27 PM
[Resolved] Can I execute a txt file from a script? - by vgvgf - 04-18-2010, 06:59 PM
[Resolved] Can I execute a txt file from a script? - by deValdr - 04-18-2010, 07:05 PM
[Resolved] Can I execute a txt file from a script? - by vgvgf - 04-18-2010, 07:24 PM
[Resolved] Can I execute a txt file from a script? - by deValdr - 04-18-2010, 07:34 PM
|