Game Development Community

Delete Files

by Howard Dortch · in Torque Game Engine · 04/22/2005 (5:07 am) · 4 replies

I looked in the file/stream/resourcemanager code in the engine and see all kinds of file manipulation routines but dont see a script call to delete a file. I have saved mission files that I would like to allow the user to delete from the gui rather than digging into directories and manually delete them.
Is there a function in the engine to delete a file in a directory or do I have to write one? If I have to write one could someone tell me how do to it without messing up the resource/stream manager.... thanks...

#1
04/22/2005 (5:23 am)
There is a resource for that.
#2
04/22/2005 (6:03 am)
Works for me...thanks Josh
#3
02/11/2008 (1:13 pm)
Link to resource is broken...