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

Home » Public Forums » archive » Re: How to get the current working directory
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: How to get the current working directory [message #70109 is a reply to message #70101] Thu, 11 March 2010 06:36 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
aberte@gmail.com schrieb:
> In IDL command line, if I type
>
> CD, C=c & PRINT, c
>
> I get
>
> /home/bert_an
>
> Say I have a routine main.pro under /home/bert_an/MyCode
> so the complete path is /home/bert_an/MyCode/main.pro
>
> Is there a function that while running main.pro gives me the path to
> this file?
> Example:
>
> IDL> print, PathFunction
> /home/bert_an/MyCode
>
> Thank you,
> Andr�s

Hi


result=get_profile_path()

http://www.fz-juelich.de/icg/icg-1/idl_icglib/idl_source/idl _html/dbase/get_profile_path_dbase.pro.html

cheers
Reimar
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: HDF5 crash on macOS
Next Topic: idl program for calling c program

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

Current Time: Sun Oct 12 14:35:05 PDT 2025

Total time taken to generate the page: 0.48231 seconds