Rename Folder?

BlitzMax Forums/BlitzMax Programming/Rename Folder?

SebHoll(Posted 2007) [#1]
Hi,

Simple question: is it possible to rename folders in BlitzMax as you can with files. I've sort of got around this by creating a new directory, the using CopyDir() to copy the files to new location, after which the old folder was removed.

Am I blind? Is there a simple cross-platform command to do this?

Cheers


Seb


Yan(Posted 2007) [#2]
RenameFile()


SebHoll(Posted 2007) [#3]
lol, I didn't think to try that. Seems to work fine.

Many thanks Ian