Question: how to share files between two laptops using ad hoc?
Answer: Right click either the WiFi or ethernet icon in the system tray and select Network and Sharing Center. ... 
Choose “Set up a wireless ad hoc (computer-to-computer) network”, click Next and Next again (read the information first if you wish).