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 :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.