From: Thomas Adam Date: 2004-04-04T08:07:09+09:00 Subject: Re: Seeking simple way to make foo.rb executable on Windows (e.g. !bin/sh...) --- Its Me wrote: > On unix I could put some shell prefix at the front of a file and make a > FOO.rb file directly executable. > > Is there any equivalent in Windows? I want to be able to put my simple Register all .rb file types to running the ruby interpreter. Failing that, Just create a shortcut to the main program, and have a batch file that does: ----------------------------------- start ruby.exe c:\some_file.rb ----------------------------------- -- Thomas Adam ===== "The Linux Weekend Mechanic" -- http://linuxgazette.net "TAG Editor" -- http://linuxgazette.net " We'll just save up your sins, Thomas, and punish you for all of them at once when you get better. The experience will probably kill you. :)" -- Benjamin A. Okopnik (Linux Gazette Technical Editor) ___________________________________________________________ WIN FREE WORLDWIDE FLIGHTS - nominate a cafe in the Yahoo! Mail Internet Cafe Awards www.yahoo.co.uk/internetcafes