Using the Windows graphical user interface (GUI) to create and manage shared folders is a streamlined process.

With that method, you might also assign permissions and specify the user accounts to grant access to.

But can you do the same using the Command Prompt?

How To View Create Delete Network Shares Using Windows Command Prompt

This guide will show you how to view, create, and delete shared folders on a Windows computer.

In the example above, theNet Sharecommand displays all the shared resources and their information within the Command Prompt.

It also shows remarks, that tell us which resources were shared by default, or other associated information.

View network shared information in Command Prompt

View network shared information in Command Prompt

As mentioned earlier, you might also specify how many users have access to the shared folder simultaneously.

Note that it does not delete the folder itself, but only the file share that you created.

This means that its sharing will be disabled, but the folder and its contents will remain.

Create a shared folder with Command Prompt

Create a shared folder with Command Prompt

These methods work for Windows 7 operating systems and above.

Unfortunately, you cannot create a shared folder on a remote computer using the Command Prompt.

For that purpose, you will need to use other commands like WinRS.

Full permissions granted to user account for shared folder

Full permissions granted to user account for shared folder

0

Get weekly insights, tips and exclusive content delivered straight to your inbox.

Talk to us straight and get your questions answered right away

Create shared folder with max concurrent user limit in Command Prompt

Create shared folder with max concurrent user limit in Command Prompt

Delete shared network folder using Comman Prompt

Delete shared network folder using Command Prompt

Download Windows 11 IoT Enterprise LTSC ISO

Startup folder in all versions of Windows

Download Windows 11 Version 24H2

source: www.itechtics.com