PDA

View Full Version : Rename Files via Pawn


AlonzoTorres
21/10/2013, 05:37 PM
How can I rename a file via pawn? frename() did not work?

Konstantinos
21/10/2013, 05:57 PM
Open file A and read everything it it. Store them in a string and then close the file.
Create a new file B and write everything to it from the string.
Delete file A.

AlonzoTorres
21/10/2013, 06:29 PM
There gotta be a faster and better way? :(