[gameprogrammer] Re: obtaining user directory
- From: Luo Hei <luo_hei@xxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Wed, 21 Nov 2007 14:58:24 -0500
Thats why I was trying to get the full path. I know that structure is
totally different because I have both spanish and english windows. Can
unprivileged users write in \Documents and Settings\[user name], outside
personal folder?
Juan Ignacio Albanesi escribió:
in C++ is the same with getenv, the %USERPROFILE% gives you:
X:\Documents and Settings\[user name]
my documents is in there. You should notice that the "My Documents"
folder changes acording the localisation of each windows (eg: in my
machine it's name "Mis Documentos" instead of "My Documents")
I think you should use only %USERPROFILE% without the My Documents folder
Saludos
--
http://dsgp.blogspot.com | Linux, programación, juegos
Have no place I can be since I found Serenity
But you can’t take the sky from me
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- References:
- [gameprogrammer] obtaining user directory
- From: Luo Hei
- [gameprogrammer] Re: obtaining user directory
- From: Juan Ignacio Albanesi
- [gameprogrammer] Re: obtaining user directory
- From: Luo Hei
- [gameprogrammer] Re: obtaining user directory
- From: Juan Ignacio Albanesi
Other related posts:
- » [gameprogrammer] obtaining user directory
- » [gameprogrammer] Re: obtaining user directory
- » [gameprogrammer] Re: obtaining user directory
- » [gameprogrammer] Re: obtaining user directory
- » [gameprogrammer] Re: obtaining user directory
- » [gameprogrammer] Re: obtaining user directory
- » [gameprogrammer] Re: obtaining user directory
I think you should use only %USERPROFILE% without the My Documents folder Saludos
- [gameprogrammer] obtaining user directory
- From: Luo Hei
- [gameprogrammer] Re: obtaining user directory
- From: Juan Ignacio Albanesi
- [gameprogrammer] Re: obtaining user directory
- From: Luo Hei
- [gameprogrammer] Re: obtaining user directory
- From: Juan Ignacio Albanesi