El_Esteban Posted January 18, 2010 Posted January 18, 2010 (edited) 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 Edited January 18, 2010 by El_Esteban
Kelsenellenelvian Posted January 18, 2010 Posted January 18, 2010 %CSIDL_COMMON_DESKTOPDIRECTORY% Needs to be added to the variables section for Vista and 7.
El_Esteban Posted January 18, 2010 Author Posted January 18, 2010 %CSIDL_COMMON_DESKTOPDIRECTORY% 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.
MrJinje Posted January 18, 2010 Posted January 18, 2010 For Windows 7 it has been changed, use this for accessing the Public Desktop (formerly all users desktop).%PUBLIC%\DesktopFor 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\ProgramsGreater details can be found here.http://en.wikipedia.org/wiki/Environment_v...crosoft_Windows
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now