Sharing your folder will allow other users on the network to view, download and edit the folder's content. While you can give access to the folder from the GUI using File Explorer, it's also possible to do it from the command prompt.

You can share access to a folder through the network using the net share command. The command requires the command prompt to run as Administrator user.

Step-by-step video guide:

Steps to create shared folder from command prompt in Windows 11:

  1. Launch Command Prompt as administrator.
  2. Create folder if not already exist.
    C:\>mkdir shared
  3. Share folder using net command.
    C:\>net share mysharedfolder=c:\shared
    mysharedfolder was shared successfully.
  4. Check if folder is in shares list.
    C:\>net share
    
    Share name   Resource                        Remark
    
    -------------------------------------------------------------------------------
    C$           C:\                             Default share
    IPC$                                         Remote IPC
    ADMIN$       C:\WINDOWS                      Remote Admin
    mysharedfolder
                 c:\shared
    The command completed successfully.
  5. Remove shared folder once no longer needed.
    C:\>net share /delete mysharedfolder
    mysharedfolder was deleted successfully.
Discuss the article:

Comment anonymously. Login not required.

Share!