+ Post New Thread
Results 1 to 5 of 5
Mac Thread, Enviroment Variables + Preference Editor in Technical; Hi, I'm trying to redirect the Safari download folder to a students home share using Workgroup Manager. I have imported ...
  1. #1

    Join Date
    Sep 2008
    Location
    Birmingham
    Posts
    82
    Thank Post
    31
    Thanked 8 Times in 7 Posts
    Rep Power
    13

    Enviroment Variables + Preference Editor

    Hi,

    I'm trying to redirect the Safari download folder to a students home share using Workgroup Manager.

    I have imported com.apple.Safari into the preferences and I'm editing the "DownloadsPath" with the location.

    However, I want to use an enviroment variable in the path.

    The location of the users home share mount is:
    /Volumes/username$

    I have tried the following paths with no success:

    /Volumes/$USER\$
    /Volumes/${USER}$


    Does anyone know if its possible to do?

    Adam

  2. #2
    danrhodes's Avatar
    Join Date
    Sep 2008
    Location
    Wath Upon Dearne
    Posts
    1,513
    Thank Post
    157
    Thanked 181 Times in 150 Posts
    Rep Power
    67
    For environment variables you use %USERNAME%

    The variable is encased in % marks.

    D

  3. #3

    Join Date
    Sep 2008
    Location
    Birmingham
    Posts
    82
    Thank Post
    31
    Thanked 8 Times in 7 Posts
    Rep Power
    13
    Quote Originally Posted by danrhodes View Post
    For environment variables you use %USERNAME%

    The variable is encased in % marks.

    D
    If your using Windows, Yes.

    Unix based systems use $USER, $HOME, etc, etc

    Adam

  4. #4
    danrhodes's Avatar
    Join Date
    Sep 2008
    Location
    Wath Upon Dearne
    Posts
    1,513
    Thank Post
    157
    Thanked 181 Times in 150 Posts
    Rep Power
    67
    Quote Originally Posted by AdamK View Post
    If your using Windows, Yes.

    Unix based systems use $USER, $HOME, etc, etc

    Adam
    Yes, sorry I didn't take note of the forum you posted this in. FAIL by me!

  5. #5

    Join Date
    Sep 2008
    Location
    Birmingham
    Posts
    82
    Thank Post
    31
    Thanked 8 Times in 7 Posts
    Rep Power
    13
    No problem, I've done the same before!

    Adam

SHARE:
+ Post New Thread

Similar Threads

  1. Mac Preference Controls
    By brahma in forum Mac
    Replies: 3
    Last Post: 14th December 2008, 08:43 PM
  2. User Enviroment corrupted
    By macca in forum Windows
    Replies: 1
    Last Post: 28th January 2008, 01:01 PM
  3. Your Preference
    By brubakes in forum *nix
    Replies: 14
    Last Post: 16th December 2007, 03:20 PM
  4. Bootcamp enviroment in school
    By Rozzer in forum Mac
    Replies: 35
    Last Post: 26th August 2006, 10:00 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
  •