move all files in directory? MoveFileEx?
MoveFileEx("c:\existingdir\*", "c:\newdir\*", MOVEFILE_REPLACE_EXISTING);
Hi hippofear,
In .NET, you can move files using managed code without the API Call.
See code snippet below:
Dim objDirectoryInfo As New DirectoryInfo("C:\existingdir") For intLoop = 0 To arrFileInfo.Length - 1 |
This moves one file at a time, the only way to move all files would be to use shell commands such as move from the command prompt.
Regards,
Vikram