Y_INI Deleting.
#1

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?
Reply
#2

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).
Reply
#3

Quote:
Originally Posted by Emmet_
Посмотреть сообщение
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)