|Not sure what you mean by WiFi direct but that is not how you connect your phone to your computer to transfer files.|
It will depend on which make of phone you have, not just the operating system. The way you would transfer files is through a USB cable connected between the phone and computer.
IE. In the case of a Samsung phone you would go to Samsung's website and download and install the Kies program. This will allow your device to show up as a drive in Windows Explorer and transfer files between the two devices.
Please post the make and model of your phone.
message edited by THX 1138