comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Changing directories in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Changing directories in IDL [message #54854] Tue, 17 July 2007 07:43 Go to next message
trillianx is currently offline  trillianx
Messages: 1
Registered: July 2007
Junior Member
When I am in IDL and I would like to change directories ( e.g go into
another folder )? What are the commands one can use to do such a
thing. The usual unix commands do not work.

Thanks!
Re: Changing directories in IDL [message #54919 is a reply to message #54854] Wed, 18 July 2007 11:12 Go to previous message
henrygroe is currently offline  henrygroe
Messages: 30
Registered: August 2003
Member
On Jul 17, 7:43 am, trilli...@gmail.com wrote:
> When I am in IDL and I would like to change directories ( e.g go into
> another folder )? What are the commands one can use to do such a
> thing. The usual unix commands do not work.
>
> Thanks!

In my experience (though this may be just because I'm usually sloppy
about where I launch IDL from) it's a poor idea to have any IDL
commands dependent upon being within a specific directory. I try
to have everything fully path'd out,
e.g. '~/obsdata/nirspec/20070707/spec'
instead of just assuming I'm inside the right directory.
(And, usually my paths are built up of various string variables,
particularly dates.)

But, pardon the above aside, the command you want is "cd", e.g.:
cd,'mynewdir'
(See CD in IDL help.)

cheers,
-Henry
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: xrange woes
Next Topic: script spectral resampling

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:25:14 PDT 2025

Total time taken to generate the page: 0.00466 seconds