Search notes:

net use

Mapping a network drive

net use can be used to map a drive:
net use f: \\SERVERNAME\Foo
Additionally specify the user account with which to connect:
net use f: \\SERVERNAME\\Foo /user:domain\user.name
The user's password can be appended after the logon name:
net use f: \\SERVERNAME\\Foo /user:domain\user.name mySecret
After mapping a network drive, the mapped drive names seem to appear in the registry as subkeys under HKEY_CURRENT_USER\Network.
The mapped drives can also be queried with wmic.exe:
c:\> wmic logicalDisk where driveType=4 get providerName, deviceId, description

Unmapping (deleting) a drive

net use f: /delete

See also

The PowerShell cmdlet new-psDrive and cmdlet noun smbMapping
net1.exe

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1756327079, '216.73.216.101', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/dirs/Windows/System32/net_exe/use/index(64): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78