Subfolders inside Windows network shares

In Windows, after entering the following address e.g. in the Windows Explorer’s address bar:


what actually happens is that first the share \\server.mydomain\share is opened, and then the directory is changed to folder1\folder2. Tools from the Samba package aren’t that smart.

After entering the command:

smbclient //server.mydomain/share/folder1/folder2

you will get an NT_STATUS_BAD_NETWORK_NAME error. Instead, you should first open the share using the command:

smbclient //server.mydomain/share

and then, after authentication, change the directory to the desired folder using the command:

cd folder1/folder2

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s