First of all: great to have a "Map Network Drive" option in Robotask! Works great.
However, we also use some mappings without a username and password. These fields in Robotask are mandatory. Is it possible to make them optional or to tick on "use the current username and password"? I have seen in your helpfile you have to specify that in a domain structure, which makes sense to map it with another username or password. In this case, a tick with "current user" or similair is enough.
Here is an example of the script we've used before and this works.
Code: Select all
NET USE V: \\STR_K2SAN\V
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\##STR_K2SAN#V" /v _LabelFromReg /d "V-Schijf" /t REG_SZ /f