|
I am reading a command from a file into a Ruby program. The command will, when pasted onto the DOS command line kick off VPN. How to get the cmd to execute?
# # ReadCmd.rb # require 'win32ole' # # These two commands read # while cmd = ARGF.gets print cmd end
|