In order to mount your Nextcloud as drive in Windows, in command prompt use following command to mount it as drive N and replace YOURSERVER, YOURSERVERPORT, YOURUSERNAME and YOURPASSWORD with your values.
net use N: https://YOURSERVER:YOURSERVERPORT/nextcloud/remote.php/dav/files/your-username/ /user:YOURUSERNAME YOURPASSWORD