+ Post New Thread
Results 1 to 5 of 5
Windows Thread, If I use %userprofile% what do I use for userfiles? in Technical; I am in the process of redirecting users favorites and cookies and the adm I have suggests using %userprofile%/favorites but ...
  1. #1
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30

    If I use %userprofile% what do I use for userfiles?

    I am in the process of redirecting users favorites and cookies and the adm I have suggests using %userprofile%/favorites but I have a mandatory profile so I want to put the users favorites in their "my docs" I tried %userfiles% but I know that isn't right.

    Can anyone help?

    Thanks

  2. #2

    Join Date
    Jul 2005
    Location
    Rugby
    Posts
    432
    Thank Post
    17
    Thanked 66 Times in 61 Posts
    Rep Power
    35
    %homepath%

  3. #3


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,815
    Thank Post
    231
    Thanked 888 Times in 763 Posts
    Rep Power
    301
    what ever drive letter they use as their home dir so in my case i use u:\favorites

  4. #4
    HullFC's Avatar
    Join Date
    Sep 2009
    Posts
    23
    Thank Post
    3
    Thanked 8 Times in 7 Posts
    Rep Power
    12
    Quote Originally Posted by reggiep View Post
    I am in the process of redirecting users favorites and cookies and the adm I have suggests using %userprofile%/favorites but I have a mandatory profile so I want to put the users favorites in their "my docs" I tried %userfiles% but I know that isn't right.

    Can anyone help?

    Thanks
    You can use the SET command to list all environment variables (and their values) at a command prompt. As above, you need %homepath%

    Shaun

  5. #5
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    C heers guys, I used the mapped drive in the end but it's good to know the alternatives.

SHARE:
+ Post New Thread

Similar Threads

  1. %Userprofile% Variable not being set.
    By drjturner in forum Windows
    Replies: 16
    Last Post: 23rd November 2006, 09:07 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •