Such as the WD MyCloud network disk…
Create a .bat file and enter this:
net use Z: \\192.168.0.2\Document mysecretpassword /user:MyUserName /persistent:yes
Replace text in bold.
Add a shortcut to the bat file to the Startup folder:
Set the shortcut to run in “minimized window” to avoid showing the window.
Technet info for NET command:
Angry IP Scanner (or simply ipscan) is an open-source and cross-platform network scanner designed to be fast and simple to use. It scans IP addresses and ports as well as has many other features.
Search on EPiWiki.se