yes thats what im trying to do, but i want to do it by having the user right-click> open with> my program that would hopefully give my program the directory of the file, which i could then use. as opposed to the way i have it now where they need to type in the filename. i read through the file section on ruby-doc, no help there. -- Posted via http://www.ruby-forum.com/.