Google's Nearby Share app for Windows facilitates Android-Windows file sharing. Here's how to use Nearby Share to share files between Android and Windows.
If you need to quickly send a file between two devices, Bluetooth is a convenient and easy to use method that omits the need for networking and USB cables.