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: Is there a type of file that contains a single URL?

24 Oct 2015   #1
Foebane

Windows 7 Ultimate x64
 
 
Is there a type of file that contains a single URL?

Is there a way of getting a URL put into a text file and changing the extension so it acts as a link to a web browser? If I recall, Internet Explorer used to store URLs in individual files, but I don't know if this is still the case. Can you help me?


My System SpecsSystem Spec
.
24 Oct 2015   #2
Alejandro85

Windows 7 Ultimate x64
 
 

It still works that way up to this day. Each favorite is in fact a separate file and those are just plain text files with the .url extension. When launching them on their own, they open the default browser with the address indicated within them.
Their content is trivial to understand:

Code:
[InternetShortcut]
URL=http://www.google.com
Just that suffices. They must be named with a .url extension for them to work, doable with notepad.
My System SpecsSystem Spec
24 Oct 2015   #3
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by Foebane View Post
Is there a way of getting a URL put into a text file and changing the extension so it acts as a link to a web browser? If I recall, Internet Explorer used to store URLs in individual files, but I don't know if this is still the case. Can you help me?
Could you tell us more about what you are trying to do?

If you have IE's favorites bar showing, then dragging/dropping URLs to that bar will create a URL shortcut that is a bit more complex than the two lines Alejandro85 mentioned. (Not that you need the extra stuff.) If you drag/drop a URL to your Desktop (or other folder), that should create an even more complex text file. Those text files have an extension of website. Unfortunately, those shortcuts might not work well with other browsers.
My System SpecsSystem Spec
.

24 Oct 2015   #4
Foebane

Windows 7 Ultimate x64
 
 

I just found out about the URL thing myself, Alejandro85 - thanks.
My System SpecsSystem Spec
24 Oct 2015   #5
cyclops

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

I just keep a word document with hyperlinks for things that I want to share or access later. Creating a hyperlink is really easy and you can hide the url and have it display as text you choose. You can create the hyperlink in an email also.
Windows 10 for Dummies

That is a hyperlink. Hold down ctrl and click on the Windows for Dummies text and it will open the link in your browser.
My System SpecsSystem Spec
24 Oct 2015   #6
Ztruker

Windows 10 Pro X64
 
 

I find the easiest way to create a link to a network location is to right click on the Desktop or in the folder you want it in then
select New shortcut.

Paste or type the URL then click Next. Type in the name you want for the shortcut then click Finish.

That's all there is to it.
My System SpecsSystem Spec
24 Oct 2015   #7
cyclops

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Hey Ztruker, I am pretty sure he wants a line of text to be clickable to link directly, not a folder or desktop shortcut. That won't work if you send it to someone in an email, in a document or as an attachment. The reason that won't work is that the shortcut is a reference to a location on the computer where it was created.
That is why I use
hyperlinks.

click on the word hyperlink above here.
My System SpecsSystem Spec
24 Oct 2015   #8
Ztruker

Windows 10 Pro X64
 
 

Quote   Quote: Originally Posted by Foebane View Post
Is there a way of getting a URL put into a text file and changing the extension so it acts as a link to a web browser? If I recall, Internet Explorer used to store URLs in individual files, but I don't know if this is still the case. Can you help me?
Can you explain more exactly what you mean? We're answering questions you may not be asking.
My System SpecsSystem Spec
24 Oct 2015   #9
RolandJS

Windows 7 Professional 64-bit
 
 

I like this idea!

[InternetShortcut]
URL=http://www.google.com

saved as a template that metapad, notepad, wordpad can edit and save with a new name, extension with .url
That file should be able to travel and be used by anyone anywhere.
I think the earlier poster who posted the two-line answered the OP's question.
My System SpecsSystem Spec
24 Oct 2015   #10
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by RolandJS View Post
I like this idea!

[InternetShortcut]
URL=http://www.google.com

saved as a template that metapad, notepad, wordpad can edit and save with a new name, extension with .url
That file should be able to travel and be used by anyone anywhere.
I think the earlier poster who posted the two-line answered the OP's question.
If you used IE (which the OP does), then the files created by saving a favorite the normal way can "travel and be used by anyone anywhere". I'm still wondering what the OP is doing.
My System SpecsSystem Spec
Reply

 Is there a type of file that contains a single URL?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
MKV and MP4 Files - Merge into a Single File
How to Combine Multiple MKV or MP4 Segments into 1 File If you have multiple .MKV or MP4 files that you would like to to merge together, forming a single MKV file, without recoding, this tutorial will show you how. You will need MKV merge for this task. For MeGUI Users:
Tutorials
Bulk Change All Folder Icons in Single Folder or Folder Type
First, please forgive me if I have overlooked this issue in the many searches I have performed thus far. I would like to know if anyone has a way to change all folder icons within a single folder to one specific icon without performing each one individually. I have over 1,400 folders within a...
Customization
Changing .exe File Type Icons In File Explorer But Nowhere Else
Hello Everyone, I have kind of an odd question, I have been looking into changing file type icons when I came across an interesting conflict. I would like to be able to change the file type icon for all .exe files to the same file type icon within a file explorer. If you were to try to do...
Customization
How do I change a file's file type (not only file association)?
I need to change a zip file to an epub file. I have heard this can be done, but when I add the .epub after the file name, I notice the file is still actually zip type file when I right click properties. This is causing a problem when I try to open it in in different ebook reader programs. I...
General Discussion
How to create a batch file that will move files based on the file type
How to create a batch file that will move files based on the file type? My Requirement : I need a batch file to copy all .doc files in all my HardDisk to a removable disk say (Z: drive) . Can anyone make it possible using a batch file?Please...Its urgent...
General Discussion
Cannot get Outlook to set up in a single data file.
No matter how I try on this machine, I wind up with 2 separate data files, one called personal folders, and one labeled after my email accnt. This is frustrating.. I also cannot make my email data file primary. The option is greyed out. So I wipe my profile, rename all the data files to end...
Browsers & Mail


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 01:37.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App