You could do this using an ActiveX object, I think.

So something like:

var path = "C:\dir\file.txt"
var filesystemobject = new ActiveXObject("Scripting.FileSystemObject
var file = filesystemobject.CreateTextFile(path, true)

// your file manipulations

file.Close()

You might want to look into ActiveXObjects though. I think most
systems won't allow you to write to a local path as Bill suggests.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to