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

Home » Public Forums » archive » Re: Problem while deleting shape file
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: Problem while deleting shape file [message #56294 is a reply to message #56293] Thu, 11 October 2007 16:43 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
raval.chintan@gmail.com wrote:
> Hi,
>
> I have written one program in which I am processing one shape file.
> Once I process it I want to delete the shape file from physical
> memory. for that I have written a below example program.

> Now my problem is whenever I am deleting the file through file_delete
> procedure , IDL is giving me error permission denied. I am having all
> the rights for a folder in which this file is available.
>
> That means IDL is not allowing me to delete the above file .... :-
> ( ... Is it a bug in IDL? Kindly correct me if I am wrong.
>
>
> Regards
> Chintan

Chintan,

your code works perfectly here...no error.. I am on Windows XP.
however, it only deletes the .shp file, not all the files that comes
along! ... you might want to look for all files that start with your
filename, no matter of the extension, and then delete them


Jean
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Conversion floating point to byte or integer
Next Topic: reading data-files from archive?

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

Current Time: Sun Oct 12 02:29:57 PDT 2025

Total time taken to generate the page: 0.95724 seconds