From: "Peña, Botp" Date: 2008-05-20T17:36:28+09:00 Subject: Re: Getting parameters from command prompt From: Vapor .. [mailto:vaqas.ashraf@gmail.com] # I want to run a ruby script.rb from command prompt with different # parameters. # Something like.. # script.rb pserver # how can I get 'pserver' in script? # like in Python I can use sys.argv[1] fr array ARGV eg, first param is ARGV[0] or ARGV.first kind regards -botp