From: Alan Chen Date: 2005-09-16T09:06:35+09:00 Subject: Re: Drag and Drop program launch on Windows Phrogz wrote: > I want to be able to drag and drop a txt file onto my ruby program, > such that I get the full file path to the txt file in ARGV[0]. > > I found a page that showed me how to: > a) Create a .bat file with "ruby myprog.rb %1" > b) Create a shortcut to the .bat file with a hardcoded working > directory You could just put the shortcut in the "Send To" directory. Then it's just a right-click and send to your script.