Something like this:
raidrv map /drvletter:X /drvtype:webdav /nastype:qnap /nasid:id /username:user /password:pass /readonly:1 /port:5001
raidrv unmap /drvletter:X
Something like this:
raidrv map /drvletter:X /drvtype:webdav /nastype:qnap /nasid:id /username:user /password:pass /readonly:1 /port:5001
raidrv unmap /drvletter:X
Hi~ @Daniel_Taka,
Your suggestion is wonderful! 
We have a plan relative with this feature and will keep trying to release sooner.

Hello,
I also need something like this rather urgently.
Is there any progress?
I’ve seen a similar topic “add drive via batch” dated 2019, which is not answered…
israel
In case this thread is getting any attention, I have these suggestions to add:
raidrv map /drvletter:X /drvtype:onedrive_business /credentials:[credentials filename] …
TIA
israel