[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rename and move files



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