M
Moran, Craig M (BAH)
Is there a way to specify a directory in Ruby that is profile-independent
for the Windows NT variants? For example, if I wanted to do this in VBA for
the currently logged in user's My Documents folder, it would look like this:
ProfilePath = Environ("USERPROFILE") & "\My Documents\"
This way, regardless of who is logged in and runs the script, it will always
point to their own My Documents folder. Thanks in advance for the help-
Craig
for the Windows NT variants? For example, if I wanted to do this in VBA for
the currently logged in user's My Documents folder, it would look like this:
ProfilePath = Environ("USERPROFILE") & "\My Documents\"
This way, regardless of who is logged in and runs the script, it will always
point to their own My Documents folder. Thanks in advance for the help-
Craig