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

Home » Public Forums » archive » Re: help with windows directory command 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: help with windows directory command from within idl [message #18561] Thu, 13 January 2000 00:00 Go to previous message
Nando Iavarone is currently offline  Nando Iavarone
Messages: 48
Registered: December 1998
Member
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Peter Brooker wrote:
<blockquote TYPE=CITE>I am running IDL on an NT. I use the CD command to
change directories
<br>from within IDL. Staying inside IDL, I now want to list which files
are
<br>in this remote directory.&nbsp; The IDL command
<p>IDL> SPAWN,'DIR'
<p>Opens up a DOS window but then closes it immediatly.
<p>How can I get IDL to keep the DOS window open so I can look at the
<br>files?
<p>Is there a way other than SPAWN to list the files in the new directory?
<p>thanks-Peter Brooker</blockquote>
You can simply use the "findfile" too.
<p>fileNames = findfile()
<p>fileNames will be a string array in which each element is a file name
in your directory
<p>Bye.
<pre>--&nbsp;
Nando Iavarone
Advanced Computer System - SPACE DIVISION
via Lazzaro Belli, 23
00040&nbsp; Frascati - RM
Tel: +39-6-944091 (switchboard)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 9440968 (direct)
E-mail:&nbsp;
&nbsp;&nbsp;&nbsp; f.iavarone@acsys.it
&nbsp;&nbsp;&nbsp; FrdndVrn@altavista.net</pre>
&nbsp;</html>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: IDL Shareware -- Gov't Labs
Next Topic: IDL performance numbers....

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

Current Time: Fri Oct 10 23:52:44 PDT 2025

Total time taken to generate the page: 0.40460 seconds