What command line function connects to file shares?



Windows Explorer provides a useful GUI interface for the process of connecting to remote file shares over the network. What command can be used at the Windows command line to accomplish the same thing?

A) NET USE

B) NET SHARE

C) NET FILE

D) NET VIEW


The answer: A) NET USE

The NET command provides a command line interface into many networking capabilities, and the USE parameter designates the connection of a file share. To see all of the details behind the NET USE command, you can use the NET USE /? option.


The incorrect answers:

B) NET SHARE
The NET SHARE command provides a number of configuration options for local machine network shares. You can view shares, configure new shares, or delete shares with the NET SHARE command.

C) NET FILE
The NET FILE command displays information about the files that have been opened on a machine from other devices across the network. Files can also be administratively closed with the NET FILE command.

D) NET VIEW
NET VIEW is used to browse a network resource from the command line. This would be similar to browsing the Network Neighborhood from the Windows Explorer GUI.

Want to know more? Watch “Using the Network.”

To make the most of a network connection, you’ll need to know how to share files, configure network printers, and setup browser configurations. In this video, we’ll show you how to take advantage of these network resources and how to use Windows services to help manage your network resources.