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

Home » Public Forums » archive » Re: Opening a desktop folder from within 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: Opening a desktop folder from within IDL [message #64490 is a reply to message #64486] Fri, 02 January 2009 18:44 Go to previous message
jeffnettles4870 is currently offline  jeffnettles4870
Messages: 111
Registered: October 2006
Senior Member
On Jan 2, 7:41 pm, "M. Katz" <MKatz...@yahoo.com> wrote:
> From within IDL (without using a DLL) is it possible to open up a
> given folder on the desktop?
>
> I know that on Mac OSX, you can do this
>   spawn, 'open /Users/'
>   spawn, 'open ' + complete_path
>
> What would the equivalent Windows and Linux commands be?
>
> I am interested in doing this so I can give users a GUI button that
> quickly opens a "target" directory where output files are written.
>
> Thanks, M.

On windows you could use
spawn, 'explorer ' + complete_path

-Jeff
[Message index]
 
Read Message
Read Message
Previous Topic: random number generator
Next Topic: Trouble with plotting ASCII grid.

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

Current Time: Sun Oct 12 00:23:52 PDT 2025

Total time taken to generate the page: 1.19857 seconds