Rename a text file?
#1

I just wanted to use YSF but noticed that it is not compatible with 0.3c (silly me).
So like the topic name may let you guess: I want to rename some textfiles, in my case it are the accounts.

The accounts have this format:
Code:
PlayerName.ini
Is there a way I can rename them or is there somewhere a file functions plugin that allows you to do that?


Edit:

I was using y_files out of the YSI package, but oviously it is not working.
Reply
#2

Create a new file with the desired name, read the original file and write the info into the new one and then delete the original
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)