All Users var question

This is a discussion about All Users var question in the Customization Tweaking category; I know that %allusersprofile% will dump me into “C:\Documents and Settings\All Users”, but that doesn’t work for NT4. I am trying to find the var (if it exists) that is the same between NT4 and W2K so I can copy files to “All Users\Start Menu\Program Files”.

Customization Tweaking 1789 This topic was started by ,


data/avatar/default/avatar19.webp

3857 Posts
Location -
Joined 2000-03-29
I know that %allusersprofile% will dump me into “C:\Documents and Settings\All Users”, but that doesn’t work for NT4. I am trying to find the var (if it exists) that is the same between NT4 and W2K so I can copy files to “All Users\Start Menu\Program Files”. Does this var exist? And if so, what is it?

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Jun 28
Created
Jun 29
Last Response
0
Likes
2 minutes
Read Time
User User User
Users

Responses to this topic


data/avatar/default/avatar19.webp

3857 Posts
Location -
Joined 2000-03-29
OP
Thanks, but that only gets me to the currently logged in user, right? I am trying to get a shortcut folder copied down to each PC so that it will show up for every user when they log on. I was trying to do it with one batch file, but I was getting the feeling that I may have to use separate collections (one for NT and one for W2K) in SMS to deploy different batch files for each OS.

data/avatar/default/avatar27.webp

1117 Posts
Location -
Joined 2000-01-23
How about "%USERPROFILE%\..\all users"? This will work on Win2k, but i don't know is it's the same on NT4...
 
Incidentally, you can type "set" at a command prompt to get a list of all the variables and their current values.

data/avatar/default/avatar19.webp

3857 Posts
Location -
Joined 2000-03-29
OP
Thanks, it looks like that twist on %userprofile% will do it just fine. Whenever I try %windir%\profiles in Win2K, it takes me to Winnt\profiles (makes sense since %windir%=c:\winnt on this system). But, if you put any files or folders in there, they wont show up in the start menu. Hence, the need to get to the "All Users\Start Menu\Programs" directory on both Win2K and NT4. Thank you both for the help.