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
Deathtrip2k

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
StalkeR

Windows 7 Ultimate SP1 / Windows 10 Pro 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
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

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
Deathtrip2k

Windows 7 Ultimate x64
 
 

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

64-bit Windows 10 Pro
 
 

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

Windows 7 Ultimate x64
 
 

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

Windows 7 Ultimate SP1 / Windows 10 Pro 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
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

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
Deathtrip2k

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
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

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
Thread Forum
Open Command Window Here as Administrator
Add or Remove "Open Command Window Here as Administrator" to Context Menu This will show you how to add or remove Open Command Window Here as Administrator to the context menu of a folder, drive, and desktop of all users to open an elevated command prompt with the focus at the library, folder,...
Tutorials
Open Command Window Here - Add or Remove
How to Add or Remove "Open Command Window Here" from Context Menu in Windows This will show you how to add or remove Open Command Window Here from the context menu of the desktop, folders, and drives in Vista, Windows 7, and Windows 8. You must be logged in as an administrator to be able to...
Tutorials
Open Command Window Here
How to Use "Open Command Window Here" in Windows 7 This will show you how to use the Open Command Window Here context menu item of a folder or drive to open a command prompt with the focus at the folder or drive location in Windows 7. This will make it easier to perform a command task at...
Tutorials
Open Command Window Here
For all DRIVES, <shift>|right-clicking displays OPEN COMMAND WINDOW HERE in the context menu, above the first separator. That item opens the command prompt. But for all other folders the OPEN COMMAND WINDOW HERE item displays below the first separator in the context box, and clicking on it...
General Discussion
Problem open command Window(administrator)
I'm trying to create some auto setup procedures but can not setup a CMD administrator command ( non administrator seems to work) registry tweak ; //run administrator command from explorer @="Open Command Window Here (Administrator)"
Network & Sharing
Open elevated command window here
I could prolly figure it out but does anyone know offhand how to add an "Open elevated command window here" option in addition to the "Open command window here" shift+context menu for a folder?
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 16:19.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App