ID:171802
 
I really don't have much experience with the shell() proc. Is there any way to rename a file with it?
Well, if you're using some form of Unix/Linux, I think you can do something similar to the following:
shell("mv [oldfilename] [newfilename]")

Make sure that the old exists and the new doesn't first, though.
In response to Jon88
I'm looking for something that can be used with Windows, and upon testing that doesn't. Perhaps there's a way to make a copy of the file instead?
In response to HavenMaster
How about using fcopy() and deleting the original?
In response to HavenMaster
Okay, then how about ren?
shell("ren [oldname] [newname]")