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

Home » Public Forums » archive » Re: FILE_DELETE and FILE_CHMOD
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: FILE_DELETE and FILE_CHMOD [message #42010] Wed, 15 December 2004 08:03 Go to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
Miguel Angel Cordoba wrote:
> Hi,
> I need to delete a directory in Windows and I use the IDL
> routine FILE_DELETE. The problem is at the file access
> permissions. I want to change the access permissions for all
> files and subdirectories off the directory using the FILE_CHMOD
> routine but this routine don't works in recursive mode.
> Any ideas?.
>
> Thanks.
>

Do a File_Search to get a list of all filenames within the directory and
then send that list to File_Chmod. I haven't tried it out, but I think
that should work.

files = File_Search("some_directory", "*")
File_Chmod, files, ...

-Mike
[Message index]
 
Read Message
Read Message
Previous Topic: Help with interactive cursor and the draw widget (long)
Next Topic: congrid interpolation problem

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

Current Time: Fri Oct 10 14:26:14 PDT 2025

Total time taken to generate the page: 1.04182 seconds