Converting DataLayers using DataLayerToAssetCommandlet Error! PLEASE HELP!

I have the following issue in my project “Some data within DataLayers is deprecated. Run DataLayerToAssetCommandlet to create DataLayerInstances and DataLayer Assets for this level.”

I have tried running the Commandlet using the following command.
C:\Users\Chris\Documents\GitHub\UnrealEngine\Engine\Binaries\Win64>UnrealEditor.exe C:\Users\Chris\Documents\Unreal Projects\CastleWolfenstein\CastleWolfenstein.uproject -run=DataLayerToAssetCommandlet C:\Users\Chris\Documents\Unreal Projects\CastleWolfenstein\Content\CastleWolfenstein\Maps\CastleWolfenstein_Persistent -DestinationFolder=/Game/DataLayerConversion

However, I am getting the following error.

[2023.09.02-20.01.10:301][ 0]LogCsvProfiler: Display: Metadata set : largeworldcoordinates=“1”
[2023.09.02-20.01.10:305][ 0]LogLiveCoding: Display: Starting LiveCoding
[2023.09.02-20.01.10:305][ 0]LogLiveCoding: Display: LiveCodingConsole Arguments: UnrealEditor Win64 Development
[2023.09.02-20.01.10:306][ 0]LogLiveCoding: Display: First instance in process group “UE__0x9efc5e17”, spawning console
[2023.09.02-20.01.10:311][ 0]LogLiveCoding: Display: Waiting for server
[2023.09.02-20.01.10:755][ 0]LogLiveCoding: Display: Successfully initialized, removing startup thread
[2023.09.02-20.01.10:888][ 0]LogDataLayerToAssetCommandlet: Display: Data Layer Conversion started…
[2023.09.02-20.01.10:924][ 0]LogWorldParitionCommandletUtils: Error: Unknown level ‘C:\Users\Chris\Documents\Unreal’
[2023.09.02-20.01.10:924][ 0]LogDataLayerToAssetCommandlet: Error: Failed to Load C:\Users\Chris\Documents\Unreal, Conversion will abort
[2023.09.02-20.01.10:924][ 0]LogDataLayerToAssetCommandlet: Display: Data Layer Conversion took 36 ms
[2023.09.02-20.01.10:924][ 0]LogInit: Display:
[2023.09.02-20.01.10:924][ 0]LogInit: Display: Warning/Error Summary (Unique only)
[2023.09.02-20.01.10:924][ 0]LogInit: Display: -----------------------------------
[2023.09.02-20.01.10:924][ 0]LogInit: Display: LogWorldParitionCommandletUtils: Error: Unknown level ‘C:\Users\Chris\Documents\Unreal’
[2023.09.02-20.01.10:924][ 0]LogInit: Display: LogDataLayerToAssetCommandlet: Error: Failed to Load C:\Users\Chris\Documents\Unreal, Conversion will abort
[2023.09.02-20.01.10:924][ 0]LogInit: Display:
[2023.09.02-20.01.10:925][ 0]LogInit: Display: Commandlet->Main return this error code: 1
[2023.09.02-20.01.10:925][ 0]LogInit: Display: With 2 error(s), 0 warning(s)
[2023.09.02-20.01.10:925][ 0]LogInit: Display:
Execution of commandlet took: 0.04 seconds

I understand its an issue with the file name, I have inserted the correct file location but it appears that Commandlet isn’t picking up the full length of the file path. Any help!?

Thanks

Probably it is late, but you should use filenames/paths having spaces between quotes, so in your case:
“C:\Users\Chris\Documents\Unreal Projects\CastleWolfenstein\CastleWolfenstein.uproject”
(and same with map name, except the destination folder which is a package name and you used it correctly)