Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wrote a Ruby program that will check a *.log file for key words and phrases. The program is called "Check_Log.rb".

I use Windows 7 and I'd like to be able to right click the log file in Windows Explorer and execute the Ruby program. Assuming a log file is called "Test.log", I'd like to be right click on it, choose "Check Log" from the menu and have Ruby execute the Check_Log.rb program as if it was executed from the command line like this:

ruby Check_Log.rb Test.log
share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.