Is there a system variable to access either
users
users\\public
in Windows Vista? Something like $PROGRAMFILES$, etc?
thanks,
Brad
Vista access to users\\public
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
This is returned by Get Folder Location on all platforms (these folders are not new to Vista, but their locations have indeed changed).
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Get Folder Location gets the folder location for the following predefined system locations:
System->Application Data Directory
System->CD Burning Directory
System->Desktop Directory
System->Fonts Directory
System->Profiles Directory
System->Program Files Directory
System->Recent Files Directory
System->Send To Directory
System->System Directory
System->Templates Directory
System->Windows Directory
I need to get the path to the new system "Users" or "Users\\Public" folders.
If you don't have something for this, is there a way to find the system drive? Then I could do the following:
$SYSTEMDRIVE$\\Users\\Public
System->Application Data Directory
System->CD Burning Directory
System->Desktop Directory
System->Fonts Directory
System->Profiles Directory
System->Program Files Directory
System->Recent Files Directory
System->Send To Directory
System->System Directory
System->Templates Directory
System->Windows Directory
I need to get the path to the new system "Users" or "Users\\Public" folders.
If you don't have something for this, is there a way to find the system drive? Then I could do the following:
$SYSTEMDRIVE$\\Users\\Public
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
I had already answered this question, and you repeated the answer
Use the System->Profiles directory.

Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
bradak wrote:I need to get the path to the new system "Users"...
Which you got.
bradak wrote:...is there a way to find the system drive? Then I could do the following:
$SYSTEMDRIVE$\\Users\\Public
You already have something better.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Extract File Path and Set Variable are the commands to use.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 40 guests