Working on a script that lets user's have graphics files relocated just by droping a directory of them inside another directory.
So my script needs to move them out of there when done so it doesn't install them over again at next restart if users are lazy and leave them in side.
But this is on Win32 and I keep getting refused permission even though I'm running it as admin. I can create empty directories. I can create and rename files. But I cannot rename (move) directories.
Is there a workaround? or something I'm doing wrong?What I'd like to do is as below...
move( "C:/foo/bar/my_work/whatever", "C:/foo/bar/whatever");