Anyone know how to use 'net use' command to do this?
Nodsu Posts: 5,451 +7 Jan 26, 2006 #2 Code: net use LPT1: \\computername\printershare Computername is the computer that is sharing the USB printer (it could be the local machine too (use the 127.0.0.1 IP address for that)). Printershare is the name that you are sharing the printer with.
Code: net use LPT1: \\computername\printershare Computername is the computer that is sharing the USB printer (it could be the local machine too (use the 127.0.0.1 IP address for that)). Printershare is the name that you are sharing the printer with.
X xero Posts: 94 +0 Jan 26, 2006 #3 Nodsu forgot something though; On a reboot you still want the map to the share to be present so extend nodsu's command as following net use LPT1: \\computer\sharename /persistent:yes this maps the LPT port persistently for the current user. for mapping under specific user use; net use LPT1: \\computer\sharename /persistent:yes /userOMAIN\Username password You can also map network drives the similar way Nodsu proposed. share the folder to map the network to net use driveletter: \\computer\sharename
Nodsu forgot something though; On a reboot you still want the map to the share to be present so extend nodsu's command as following net use LPT1: \\computer\sharename /persistent:yes this maps the LPT port persistently for the current user. for mapping under specific user use; net use LPT1: \\computer\sharename /persistent:yes /userOMAIN\Username password You can also map network drives the similar way Nodsu proposed. share the folder to map the network to net use driveletter: \\computer\sharename