Open Networks folder through cmd?

13

3

How can I open the networks folder (equivalent of click "networks" in windows explorer) from a batch file or cmd?

I thought I could just do explorer \\ but that didn't work.

Mark Deven

Posted 2018-07-01T16:42:29.833

Reputation: 1 101

Answers

21

How can I open the networks folder from a batch file or cmd?

equivalent of click "networks" in windows explorer

It's actually "Network" (singular) not "Networks".

Use the following command:

explorer shell:NetworkPlacesFolder

Source How to Open Hidden System Folders with Windows’ Shell Command


Further Reading

DavidPostill

Posted 2018-07-01T16:42:29.833

Reputation: 118 938

9

To open special folders in Explorer, use the shell command:

  • Network folder: explorer shell:::{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}

Some other examples:

  • This computer: explorer shell:::{20d04fe0-3aea-1069-a2d8-08002b30309d}
  • Search dialog: explorer shell:::{9343812e-1c37-4a49-a12e-4b2d810d956b}

DrMoishe Pippik

Posted 2018-07-01T16:42:29.833

Reputation: 13 291

2Hmm. shell:NetworkPlacesFolder is both easier to type and to remember ... – DavidPostill – 2018-07-01T18:02:50.833

True... I tried the GUID before you had posted... looks like we dis this almost simultaneously. – DrMoishe Pippik – 2018-07-01T18:52:47.420

1If you count 22 minutes earlier for my answer as almost ... :) – DavidPostill – 2018-07-01T18:55:03.393

1My browser was still open to the original post, which did not show your answer. Did not mean to step on your answer. – DrMoishe Pippik – 2018-07-01T19:15:36.967

No probs ...... ;) – DavidPostill – 2018-07-01T19:48:45.853

The shell code will work better during a system failure or corruption. The NetworkPlacesFolder refers to the shell code. So yours might be better for troubleshooting technically :D – Mark Deven – 2018-07-01T21:50:34.397

I dare say the two answers are complementing each other nicely. (+1 to both). Especially the 2nd one adds also the current Computer and the search Dialog) while the other Posts a shorter command that is easier to remember. – Thomas – 2018-07-02T10:31:06.720

1

Make a mapping to the shared folder : net use z: \\

and close it afterwards : net use z: /delete

Note: see cmd : net use /? for help z: = examplename driveletter : speaks for itself but every drive has a hidden administrative root share name : z$.

ERademaker

Posted 2018-07-01T16:42:29.833

Reputation: 11