Received: by 10.224.183.13 with SMTP id ce13mr13545174qab.4.1349091783519; Mon, 01 Oct 2012 04:43:03 -0700 (PDT) Received: by 10.236.143.241 with SMTP id l77mr2071270yhj.10.1349091783494; Mon, 01 Oct 2012 04:43:03 -0700 (PDT) Path: e10ni142021129qan.0!nntp.google.com!l8no19806819qao.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.idl-pvwave Date: Mon, 1 Oct 2012 04:43:03 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.156.106.115; posting-account=GKYR2AoAAACDLShcftOLAn34_s1d28qb NNTP-Posting-Host: 193.156.106.115 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: How to change ENVI tmp folder in IDL From: Yngvar Larsen Injection-Date: Mon, 01 Oct 2012 11:43:03 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Saturday, 29 September 2012 06:24:02 UTC+2, Danxia wrote: > Hi All, I'm using IDL+ENVI on a linux server. Due to the limitation of sp= ace on the server, if the tmp folder of ENVI gets full, other people can't = run their code. And I'm not the administrator of server, so I can't empty t= he temp folder. So I'm wondering if there's a way to set my own tmp folder = of ENVI through IDL code, something like set tmp dir to a given folder? Tha= nk you very much. Solution #1: On linux, IDL/ENVI will honor the environment variable TMPDIR. So, assuming= your shell is bash, just put export TMPDIR=3D/my/personal/tmp/dir/ in your .bashrc. Solution #2: For IDL, there is also an IDL preference IDL_TMPDIR that you can set (with = PREF_SET) to override (?) the TMPDIR unix environment variable. Most likely= , there is something similar for ENVI.=20 --=20 Yngvar