What is "~dpnx0"?
That is a series of substitutions of batch parameter.
Here is Microsoft doc:
https://docs.microsoft.com/en-us/windows-server/administration/windows-co...
And here is more clear step-by-step explanation:
https://stackoverflow.com/a/3679781/716075
--
Mykola Ivanets