Environmental Variables on Mac

wonder if someone can help, at work we dont have a mac in our office and I need to set up some environmental variables for couple of users.

I’ve looked through google but none of it makes any sense to me.

We need two variables set up:

Name: DCTMPROFILE
Value: C:\TEMP

Name: UCFPROFILE
Value: C:\TEMP

Can anyone explain how to do this in the most simple way possible??? Piss easy on a PC and I don’t like Macs.

thanks!

Its unix these days innit?

export variable=value

yes, OSX is Unix (10.5 and 10.6, previous are just unix-like)

keep in mind kato that on OSX (or pretty much every other OS out there) there’s no such thing as C:\

I’m no Mac guy (I detest Apple :w00t: ), but what are these settings? local settings or for something remote?

theyre settings to open up a scanned image hosted on another system but access is from our application. im not a techy so really don’t know the ins and outs, but it seems no one knows how to set these up on a mac

I dont use Macs so LMGTFU

ah, can’t help you there either. May be some programs for that available, but wouldn’t know.

There are a bunch of Apple users here, so someone should probably know :slight_smile:

good luck

tried this one myself on someone elses machine, got to the environment.pslist part but there was no add item button or a way to add the variables…confused

Look for ‘Terminal’. I think it’s in utilities (Shift+cmd+u)

you can input all your geeky stuff in there :wink:

Im sitting here reading and writing on a mac but have no idea what you are talking about. :smiley:

typical mac user :stuck_out_tongue:

I’m not too up on Mac OS X either, but I believe the command is ‘export’ as banman said, not ‘setenv’ as I’m used to in Linux.

yes, terminal is in utilities.

however I doubt that
$ export UCFPROFILE='C:\TEMP'
in bash will work, since the image location is on a remote machine, unless that is sorted out by a separate config/program somewhere along the lines :slight_smile:

I always use export on me Linux boxes :w00t:

the C:\TEMP just has to be a directory on the computer where temporary files can be stored, so it could be changed to something else if need be on a mac because C:\ doesn’t exist.

try this

You gotta love how easy it is on a Mac :stuck_out_tongue:

I knew I was going to get that response! :smiley:

I’m old school IRIX, old habits die hard lol

declare -x baby!