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 
Return to the default flat view Create a new topic Submit Reply
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
[Message index]
 
Read Message
Read Message
Previous Topic: xrange woes
Next Topic: script spectral resampling

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

Current Time: Sun Oct 12 04:38:35 PDT 2025

Total time taken to generate the page: 0.80058 seconds