I'm trying to move all files and folders within a directory to another location. I thought
movefile('D:\path\to\source\*', 'D:\destination\folder')
would work, but this gives me an error
Error using movefile
The requested lookup key was not found in any active activation context.