Ruby file to batch file (or an .exe?)


#1

I need to know how to run a .rb file in a .bat file.

I'm running Windows 8.1, and I have Ruby Ver. 2.4.1.

Does anyone know how to run it?


#2

I need to know how to run a .rb file in a .bat file.

I'm running Windows 8.1, and I have Ruby Ver. 2.4.1.

Assuming that ruby.exe is in your PATH:

 :: This is your BAT-File
RUBY c:\quirgl\quorgl\quargl\your_ruby_program.rb

#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.