[gameprogrammer] Re: obtaining user directory

Hi,
you can obtain it from enviroment variables:

echo %USERPROFILE% (in a console cmd.exe)

depending on your programming language there are some variuos ways to obtain
system enviroment variables

more info:
http://en.wikipedia.org/wiki/Environment_variable

Saludos

Other related posts: