Share Resources From The Command Prompt

Sharing resources makes them accessible to other users on your network. There are a couple of different ways that you can share a resource such as a folder. The most common way is through Windows Explorer.

You can also share and stop sharing resources from the command prompt. This is accomplished using the ‘net share’ command. To share a resource using this method, open the command prompt from the Accessories sub menu on the Start menu. Next, type in the ‘net share sharename’. For example, to share a folder on you D drive called Files, simply type the following at the command prompt:

net share Files=d:\

If you just type in net share at the command prompt, all the shares on your computer will be listed. For more information on the syntax of the command, type net share /?.

Article Written by