1
Vote

Utility.DirectoryMoveTo error

description

The test script gets to the DirectoryMoveTo and barfs at:

EXEC Utility.DirectoryMoveTo 'c:\temp\FileSystemHelper','c:\temp\FileSystemHelper2'

With:

Msg 50000, Level 16, State 1, Line 1
Cannot create a file when that file already exists.

I can see the test.txt file in the FileSystemHelper folder.

SQL2012EE on Win2008R2 Server.

comments