Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

 
discard

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

Browse other questions tagged or ask your own question.