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

Home » Public Forums » archive » How to set the default 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
How to set the default working directory? [message #66038] Mon, 13 April 2009 22:08 Go to previous message
rainingpeace is currently offline  rainingpeace
Messages: 1
Registered: April 2009
Junior Member
Hi all,

I am trying to use IDL to read and write CDF files. Now I am suffering
a problem. I am trying to set my default working directory to "D:
\IDLWorkspace\". And I set "Reference->IDL->Path" and add the "D:
\IDLWorkspace" to the list and move it to the top. But it does not
work.
The reason why I want to set this directory is that otherwise every
time I am trying to read a file, I have to write the full path. By
setting a default working directory, I can just use
id=cdf_open('ge_edb3sec_mgf_20000125_v01.cdf')
instead of
id=cdf_open('C:\ge_edb3sec_mgf_20000125_v01.cdf'). I believe such a
small aim is achievable in such a powerful software like IDL. It is
just that I do not know how to do that.
This is just a simple example. My directory is much longer.
So as mentioned, I failed at setting the working directory. I hope
some one could help me.
Thanks in advance.

Sincerely,
Li, Tongmu
[Message index]
 
Read Message
Read Message
Previous Topic: Italic and upright in the same title/caption
Next Topic: bug or feature?

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

Current Time: Sat Oct 11 13:24:49 PDT 2025

Total time taken to generate the page: 0.31686 seconds