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

Home » Public Forums » archive » Re: Cross-platform PWD
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: Cross-platform PWD [message #11906 is a reply to message #11898] Tue, 02 June 1998 00:00 Go to previous messageGo to previous message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
Andy Loughe wrote:
>
> Greetings,
>
> Be the first to email me the answer to this question...
> it took me over 30 minutes to figure it out... and I will
> post your name as "IDL GENTLEMAN/LADY OF THE DAY".
>
> What is the simplest "cross-platform" method for
> obtaining the present working directory?
>
> P.S. It is not... spawn, 'pwd', pwd & print, pwd
> but the syntax is very close to this.

Prepare yourself, this is pretty profound:

cd, current=curdir

The Online help implies that this works across platforms (or at least
doesn't say it doesn't).

Dave
--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2240
La Jolla, CA 92037
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: find_subtree.pro
Next Topic: subpixel image movement by bicubic interpolation?,

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

Current Time: Sun Oct 12 12:12:50 PDT 2025

Total time taken to generate the page: 1.91976 seconds