Scenario :
I mapped a network drive on a Win XP machine and I double click a .bat file to execute this Ruby script. The .rb and .bat file reside on this networked drive.
The batch file is as follows :
Z:
cd Z:\ABC\StatusCheck\
"C:\Program Files\Ruby\Bin\ruby.exe" Z:\ABC\StatusCheck\rubyScript.rb 6
The Ruby file is as follows :
require 'watir'
rec = File.open("list.txt", "r")
ie = Watir::IE.start()
***Other processing here***
My Question : How do I instantiate this batch file using Linux (when I am at home cos I cannot remote into to this machine. I want to run the .rb file from the terminal)?
Hope I made sense. I really appreciate your time guys! Thank you!