Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Sharing Folders via Command Line

Featured Replies

Hi, I just have a quick question that hopefully someone can help me out with...

Using the NET SHARE command, is it possible to share a folder on the network AND share all subfolders within that folder too?

For example...

When I type

net share name=C:\Shared Folder\

it typically shares the folder "Shared Folder" but it wouldn't share "Shared Folder\Subfolder".

Is there some option for the NET SHARE command that would make it share subfolders too, or is there an alternate way of doing this via the command line?

Thanks!

net share will share folder and subfolders too. If you can browse subfolders check NTFS permissions.

net share will allow "write" of shared folder, double check NTFS permissions if you want to keep read only.

For info "cacls" can set NTFS permissions in command line.

  • Author

Hmm, I could have sword that NET SHARE wasn't allowing access to the subfolders... When I share a drive or folder the "typical" way (right-clicking and choosing Sharing and Security) it takes a bit of time, saying "Setting Folder Permissions" but NET SHARE applies the share settings immediately, which lead me to think that it was just applying the settings to the root folder. Also, the "typical" method works fine and provides access to everything within the folder. Does sharing with that method change the NTFS permissions automatically or something?

I will look into that permissions command that you mentioned though, thank you.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.