When I execute a ruby script by the following: ruby <path>helloworld.rb onlyarg How can I find what <path> equals? For example, in Windows, ruby C:\scripts\helloworld.rb onlyarg helloworld.rb: ---------------------------------------------- # What can I put here to display the value C:\scripts\ or C:\scripts? puts ARGV[0] ---------------------------------------------- output: ---------------------------------------------- onlyarg ---------------------------------------------- Thanks! Matthew