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: http equivalent of "about:blank" ??

02 May 2010   #1

Windows 7 32 bit
http equivalent of "about:blank" ??

I know you can open a blank page with about:blank, but if you try to do this from inside a program often you get an error. I'm wondering if there's an http "magic word" that means the browser's home page?

It would be nice if you could just do something like
start about:home or start HomePageWildCard
in a command prompt
to open the default browser to its home page.

That way you wouldn't need to know which exe is the default browser.
(Obviously the user can just click the browser icon but I'm talking about
launching from a utility running on the user's system.)

My System SpecsSystem Spec

02 May 2010   #2

Windows 7 Profesional x86, Mac OS X 10.6 Snow Leopard

Hi Miles Ahead, I'm not sure this is exactly what you're looking for but take a gander at About: URI scheme.

It tells you all you need to no about about:.

Also in IE about:Home will bring up your homepage, unfortunately I think this is IE only.

My System SpecsSystem Spec
02 May 2010   #3

Windows 7 32 bit

I found the Wiki page. For some reason if you paste in the link and click it, you get a bad address error page. I just did it too and got the same thing. Weird.

Anyway, the way IP has you would think http would have something like
"http://here" or "http://startup"
or something.

No big deal. The other way of doing it is to get .html file associated exe or pull from the registry. Just a pita though.
My System SpecsSystem Spec

03 May 2010   #4
Microsoft MVP

Windows 7 Ultimate 32bit SP1

What happens if you press Alt + M ?
My System SpecsSystem Spec
03 May 2010   #5

Windows 7 32 bit

I could do it though a macro but I'd prefer simple ShellExecute from inside a program.
For example if I do ShellExecute("") the default browser will come up and try to go to MS site. I just thought there may be a "magic address" that means whatever is set as home page.. like ShellExecute("http:about:home") or something.

It's not that important.. but to use FindExecutable to get the exe file associated with .html then you have to use an existing file. So I'd have to put in a dummy web page like "nothing.html" and call FindExecutable("nothing.html" with the rest of the pararms) to get back something like "C:\Program Files\Opera\Opera.exe" or look in the registry. Would just be easier if there was a magic word for "home page" like in TCP/IP you can connect to "this computer" using

btw if you do ShellExecute("") it tries to connect to "this computer" but if you don't have a web server running it times out.
My System SpecsSystem Spec

 http equivalent of "about:blank" ??

Thread Tools

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 06:31 AM.
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