Compatible Support Forums: All Users var question

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

All Users var question

#1 User is offline   clutch 

  • Carpal Tunnel
  • Group: Moderators
  • Posts: 3859
  • Joined: 29-March 00

Posted 28 June 2001 - 11:31 PM


0

#2 User is offline   DosFreak 

  • Carpal Tunnel
  • Group: Moderators
  • Posts: 3885
  • Joined: 04-February 00

Posted 29 June 2001 - 01:19 AM

%userprofile%
0

#3 User is offline   clutch 

  • Carpal Tunnel
  • Group: Moderators
  • Posts: 3859
  • Joined: 29-March 00

Posted 29 June 2001 - 01:45 AM

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.
0

#4 User is offline   DosFreak 

  • Carpal Tunnel
  • Group: Moderators
  • Posts: 3885
  • Joined: 04-February 00

Posted 29 June 2001 - 01:51 AM

%windir%\profiles

wink
0

#5 User is offline   CUViper 

  • old hand
  • Group: Members
  • Posts: 1120
  • Joined: 23-January 00

Posted 29 June 2001 - 02:14 AM

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.
0

#6 User is offline   clutch 

  • Carpal Tunnel
  • Group: Moderators
  • Posts: 3859
  • Joined: 29-March 00

Posted 29 June 2001 - 05:31 AM

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.

laugh
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users