Jump to content



Recommended Posts

Hello, i have a problem with %ALLUSERSPROFILE% variable, i use it in WPI.

Before, in Windows XP i use the variable %ALLUSERSPROFILE%\Desktop without any problem, the problem start in Windows Vista and later in Windows 7, the path changed "C:\Documents and Settings\All Users" to "C:\Users\<user>\AppData" on some it is mapped to "C:\ProgramData" or "C:\Users\Public"

Does i have a variable to work in Windows XP, Vista and 7, in new formated systems and in old formated systems ?

I see that usually, depending the manufaturer the paths changes.

I think that the variable %USERPROFILE% Works in all, but i like to use %ALLUSERSPROFILE% for example for making shortcuts for all users.

Sorry for my english and Thanks :rolleyes:

Edited by El_Esteban
Link to comment
Share on other sites


Needs to be added to the variables section for Vista and 7.

Hello, first, thank you.

I have try to write this in the adress bar in windows xp and also in windows 7 and it doesn't work.

How i make this variable work?

I have read about this before, but always i think that the people was talking about this in C#

I have tried to put this in a comand line of WPI but without funtion.


Link to comment
Share on other sites

For Windows 7 it has been changed, use this for accessing the Public Desktop (formerly all users desktop).


For adding links to the All Users Start Menu, make them in either of these locations (both are exactly the same)

%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs

%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs

Greater details can be found here.


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Create New...