Google now has a Nearby Share app for Windows
Google is bringing Nearby Share to Windows. However, it's currently only in beta. But this app will make it easier to transfer files between Windows PCs and Android phones. It's available for download from the Android website, and it requires the 64-bit Windows 10 version and up and shouldn't be powered by ARM processors. Nearby Share will only work if you have your PC's Wi-Fi and Bluetooth enabled. Similar to the mobile experience, you can choose your device visibility setting to prevent potential spam from mixing on.
If you're signed into a common Google account on your phone and laptop, the transfers will automatically be accepted. But both devices need to be within 16 feet of each other. It's available in most countries worldwide, with some exceptions. It currently only supports Android phones and tablets, but Google plans to expand compatibility across its ecosystem.