Page 1 of 1
Determine Default User folder path
Posted: Wed Oct 12, 2011 1:56 pm
by gsaunders
Is there a way to determine the default user path from within InstallAware script?
I am now familiar with any knownfolderid's that reference this and didn't know if anyone knows how to determine this.
Thanks,
Greg
Re: Determine Default User folder path
Posted: Thu Oct 13, 2011 8:23 am
by giaviv
Hi,
What do you mean exactly by the default user's path?
Re: Determine Default User folder path
Posted: Thu Oct 13, 2011 8:48 am
by gsaunders
giaviv wrote:Hi,
What do you mean exactly by the default user's path?
The default user profile path.
Normally they would be:
(On XP: C:\Documents and Settings\Default User )
(On Win7: C:\Users\Default )
Greg
Re: Determine Default User folder path
Posted: Thu Oct 13, 2011 8:51 am
by giaviv
Greg,
I guess a way to do it would be to run cmd.exe as the default user and then echo the environment variable.