Thanks!  This works perfectly.  However, Austin's solution does not.  I'd
imagine it was a misplaced quote.  Is either style preferable over the
other?
Craig

-----Original Message-----
From: Jim Bob [mailto:none / invalid.com]
Sent: Wednesday, February 25, 2004 11:00 AM
To: ruby-talk / ruby-lang.org
Subject: Re: Profile-independent directory specification for NT?


The environment is available under the hash ENV. So, you can do
something like:
  ProfilePath = ENV["USERPROFILE"] + "\\My Documents\\"
basically like you said you'd do with VBA.