|
| |||
APPLY THE NET USE COMMAND ON SHARED FOLDERS The Net use command can map drive letters to shared folders and LPT ports to shared printers. In addition, there are other ways the Net use command can be applied to shared folders. For example: net use * \\servername\sharename This command takes the next available drive letter and maps it to the share, which is useful when you can't guarantee that a particular drive letter is not in use in a user's PC environment and you're setting up a script for them to access a share. Here's another example: net use \\servername\sharename This command makes the shared folder or printer available to the user, but it doesn't assign a drive letter or LPT port. However, it still allows the user to access the share by using the UNC path name, such as \\server1\companydocs. This is useful when the user's current drive assignments are unknown. | ||||