Batch file to map your Android phone as network drive in Windows.
- An Android phone
- WebDAV Server or WebDAV Server Ultimate
- WiFi router (PC and phone on the same network)
- Put in your phone's MAC address, desired drive letter and port number
ℹ️ If using DHCP the phone's IP can change but the script will still find it.
- Turn on WebDAV Server on your phone
- Run the script once to connect.
ℹ️ Running it a second time removes the mapped drive.
If you are using a password it will ask for it the first time, and save them in Credential Manager.
Samba doesn't work on Windows without a rooted Android phone.
✔️ With Samba you can navigate and transfer files faster
❌ With Samba you can't sort by Date modified and there are Thumbs.db files everywhere
❌ With Samba you can set up Offline Files in Windows and sync your phone's data.
✔️ With Samba you can navigate the phone's filesystem even with the screen turned off.