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.
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
To open special folders in Explorer, use the shell command:
explorer shell:::{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}
Some other examples:
explorer shell:::{20d04fe0-3aea-1069-a2d8-08002b30309d}
explorer shell:::{9343812e-1c37-4a49-a12e-4b2d810d956b}
shell:NetworkPlacesFolder
is both easier to type and to remember ...
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$.