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
MilesAhead

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
osholt

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.

Oli
My System SpecsSystem Spec
02 May 2010   #3
MilesAhead

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 127.0.0.1 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
Jacee
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

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

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("http://www.microsoft.com") 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 127.0.0.1

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

 http equivalent of "about:blank" ??




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
What's equivalent in W7 to XP's "Make this folder private..."?
I'm working in a Windows 7 Pro VM to test this issue. I've created two user profiles, both "Admin" account type. When either user is logged in he can go to the C:\Users\ folder and open files in both users' Documents and other folders. So, no user's data folders are private. I'm not trying...
Network & Sharing
Some sites won't open with "http" but with "https"
From some days I am experiencing this strange problem in Firefox. i am unable to open some sites with the "http://" address in Firefox it don't shows any error message or anything just a blank page. but if i edit there url to "https://" sites open normally. this is really annoying. please...
Browsers & Mail
ie9 new browser opens "blank" windows 7. Changing it to "home" doesn't
ie9 new browser opens "blank" windows 7. Changing it to "home" doesn't last if you shut down. Next session, it still opens "blank"
Browsers & Mail
Outlook equivalent to Thunderbird "Local Folders"?
TBird has "Local Folders" which a user can set up any way desired; an email can be dragged from the Inbox into a folder for archiving. Can't seem to make this happen in Outlook: there's a Folder button available in the Navigation Pane, but dragging isn't "allowed." Anyone have a clue? How do...
Browsers & Mail
Windows 7 "Login Items" equivalent?
In OS X you can set up a list of login items that will be launched when a user logs in. These can be applications, documents, or folders (that will just open a window of the folder view). I am trying to do the same for a folder in Windows 7. I have a folder that I would like to have accessed and...
General Discussion
"NetDrive" equivalent for 64 bit Windows 7
I have been using NetDrive for accessing a remote storage drive using webdav and accessing it as a windows map network drive letter. However, NetDrive which is free for home use is available as of now only for 32 bit. I heard about WebDrive but it is very expensive. If anyone can point...
Network & Sharing


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 21:13.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App