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

Home » Public Forums » archive » rename and move files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
rename and move files [message #25996] Thu, 02 August 2001 08:20 Go to next message
yen is currently offline  yen
Messages: 6
Registered: July 2001
Junior Member
Hi,

I am running IDL 5.4 under mac os 9.1

Is there any IDL routines for renaming and moving files? My situation is
that I first save processed data in a temp file in a temp directory.
Depending on the outcome, I will decide if I want to keep the file, and
move it to a 'permanent' directory. It's quite tedious to do all these
manually.

Harry




--
Re: rename and move files [message #26077 is a reply to message #25996] Mon, 06 August 2001 02:20 Go to previous messageGo to next message
alt is currently offline  alt
Messages: 28
Registered: August 2001
Junior Member
yen@dolphin.upenn.edu (Harry Kao) wrote in message news:<9kbr3b$n41$1@netnews.upenn.edu>...
> Hi,
>
> I am running IDL 5.4 under mac os 9.1
>
> Is there any IDL routines for renaming and moving files? My situation is
> that I first save processed data in a temp file in a temp directory.
> Depending on the outcome, I will decide if I want to keep the file, and
> move it to a 'permanent' directory. It's quite tedious to do all these
> manually.
>
> Harry
>
There are no internal IDL rounines for that purpose. You should form
OS command line and then use SPAWN.

Cheers,
Altyntsev Dmitriy
Re: rename and move files [message #26172 is a reply to message #25996] Mon, 06 August 2001 09:12 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
If you save from IDL, quality control from IDL and save (or not) the
final file, couldn't you use the CD procedure to go to the "permanent" directory?
Cheers,
Pavel

Harry Kao wrote:
>
> Hi,
>
> I am running IDL 5.4 under mac os 9.1
>
> Is there any IDL routines for renaming and moving files? My situation is
> that I first save processed data in a temp file in a temp directory.
> Depending on the outcome, I will decide if I want to keep the file, and
> move it to a 'permanent' directory. It's quite tedious to do all these
> manually.
>
> Harry
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: PV-WAVE 7.5 is now available
Next Topic: Re: Objects with Widgets, Save/Restore

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

Current Time: Wed Oct 08 14:52:32 PDT 2025

Total time taken to generate the page: 0.00474 seconds