Forum Home
Press F1
 
Thread ID: 33412 2003-05-15 10:20:00 network .bat file heni72847 (1166) Press F1
Post ID Timestamp Content User
144522 2003-05-15 10:20:00 is there a way to write a batch file
that will connect and map you to a network?
heni72847 (1166)
144523 2003-05-15 10:42:00 You can use the "net use" command

Listed below is the command syntax.

NET USE
[devicename | *] [\\computername\sharename[\volume] [password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[/SMARTCARD]
[/SAVECRED]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]

Ian
IanJ (1454)
1