If the path contains a space, it must be surrounded by double quotes, such as -DataPath "D:\Example Path\With Spaces"
-DataPath "D:\Example Path\With Spaces"