PDA

View Full Version : Y_INI Deleting.


Alexis1999
11/08/2013, 08:56 PM
I've searched a bit the forums for a way to delete the .ini files and I found the function fremove which does not seem to be working with .ini ( Works perfectly for .txt ) so I was wondering if there were in alternatives to fremove or maybe another method of using it to successfully delete .ini?

Emmet_
11/08/2013, 08:57 PM
It should work. fremove works with any file, so either the specified path is wrong or the file is in use (use fclose to close a file).

Alexis1999
11/08/2013, 09:02 PM
It should work. fremove works with any file, so either the specified path is wrong or the file is in use (use fclose to close a file).

I thought too about the wrong path but I experimented a bit and added a .ini to scriptfiles which is default area and tried fremove("test.ini"); but that didn't work aswell.

EDIT: NVM Apparently the problem was it was already in use thanks.