Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Open Network window with a command?

16 Nov 2011   #1

Windows 7 Ultimate x64
 
 
Open Network window with a command?

Hi there, i would like to know if its possible to open up this window with a command in the commandprompt? I was planning on putting it in a batch file and execute the batchfile with a button made in rainmeter. Would be very handy for people who have a customized taskbar. At the moment I've only found a command to open up the Network and Sharing Center (control.exe /name Microsoft.NetworkAndSharingCenter)

One more question... Is it possible to hide the flashing cmd prompt when executing a command in a batch file without having to download a 3rd party program?

My System SpecsSystem Spec
.

16 Nov 2011   #2

Windows 7 Ultimate SP1 x64
 
 

I'm not sure exaclly about that, but you can start Network Connections by searching in Start menu for: ncpa.cpl
My System SpecsSystem Spec
16 Nov 2011   #3
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Deathtrip, and welcome to Seven Forums.

You could use this line in a BAT file to open "Connect To".

start "" %windir%\explorer.exe shell:::{38A98528-6CBF-4CA9-8DC0-B1E1D10F7B1B}

Connect To Shortcut - Create in Windows 7
My System SpecsSystem Spec
.


16 Nov 2011   #4

Windows 7 Ultimate x64
 
 

Awsome! Thanks alot, both of you
My System SpecsSystem Spec
16 Nov 2011   #5
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're most welcome. I'm glad that we could help.
My System SpecsSystem Spec
16 Nov 2011   #6

Windows 7 Ultimate x64
 
 

I just have to ask, how do you find these commands?
My System SpecsSystem Spec
16 Nov 2011   #7

Windows 7 Ultimate SP1 x64
 
 

Quote   Quote: Originally Posted by Brink View Post
Hello Deathtrip, and welcome to Seven Forums.

You could use this line in a BAT file to open "Connect To".

start "" %windir%\explorer.exe shell:::{38A98528-6CBF-4CA9-8DC0-B1E1D10F7B1B}
Lol, excellent Brink ! Thank you !
My System SpecsSystem Spec
16 Nov 2011   #8
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Quote   Quote: Originally Posted by Deathtrip2k View Post
I just have to ask, how do you find these commands?
By digging in the registry to find the GUID (CLISD) numbers for various items, then adding the normal part of the command at the front of it to run the GUID number. Working with DOS back in the day helped me to know a lot of commands by heart.

I have most listed here:

CLSID Key List for Windows 7
My System SpecsSystem Spec
18 Nov 2011   #9

Windows 7 Ultimate x64
 
 

Hi again. I have put the command you gave me to good use now and i have made a copy of the original windows internet button from the notification area so you can hide the taskbar for a custom one I have just changed the "not connected" icon to a (imo) better one. All the pillars should work like the normal depending on the signal streangth, but im not sure since i always have a "exillent" signal. The "not connected" icon work atleast so i guess they all do When you click on it, it opens up the "Connect to" windows just like the original



Now i decided to make one for the volume and one to show the hidden icons and i wonder if its possible to get the GUIDs for those aswell?

Thanks again
My System SpecsSystem Spec
18 Nov 2011   #10
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Yep, that's the exact same "Connect to" dialog that Windows 7 uses. The command just opens it.

Here's the one for "Notifications Icons"in a BAT file:
start "" %windir%\explorer.exe shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}

Notification Area Icons Shortcut - Create
For volume in a BAT file
start "" %windir%\System32\SndVol.exe
If you wanted to create a shortcut for them instead, just remove start "" from the front of the commands.
My System SpecsSystem Spec
Reply

 Open Network window with a command?





Thread Tools



Similar help and support threads for2: Open Network window with a command?
Thread Forum
Open Command Window Here Tutorials
Open Command Window Here as Administrator Tutorials
Solved No REG Command in "Open elevated command window here" DOS Box General Discussion
Open Command Window Here - Add or Remove Tutorials
Open Command Window Here General Discussion
Problem open command Window(administrator) Network & Sharing
Solved Open elevated command window here General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:20 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33