does anybody know how to get the current user's path for xp /vista

sample:
"C:\Documents and Settings\Owner"

or if you know how to get the installed program path

"C:\Program Files\FileZilla FTP Client\filezilla.exe"

DirectoryInfo di = new DirectoryInfo(System.Environment.G­ etFolderPath(Environment.SpecialFo­ lder.Programs))

thanks for the help guys, i got my answer now, thanks a lot

thanks for the help guys, i got my answer now, thanks a lot

Hi millanskie....

since you had got the solution mark the thread as solved....
Thanks :)