Buexe
05-23-2003, 02:21 PM
hi everybody, I would like to delete certain files on my harddisk via a mel user interface. These files are created by a mel script and then get listed in a textscroll list window. If I just open the window with the list, it lists all previously created files and I can delete one if I don`t need it anymore. But when I create a new file with the script and want to delete one (even one of the old ones ) afterwards nothing happens. I guess it happens because Maya keeps some kind of connections to the files after the creation script.
To delete the files I create a command line:
system ("del /F c:\example.file" );
If I execute this command in the shell while Maya is open, I get an error message that the file is in use by another application (Maya)
anybody has a hint?
TIA
Buexe
To delete the files I create a command line:
system ("del /F c:\example.file" );
If I execute this command in the shell while Maya is open, I get an error message that the file is in use by another application (Maya)
anybody has a hint?
TIA
Buexe
