OPEN  A  FILE

To open a file you have two methods. You can either double click on a file's icon, which will open the program associated with the file, or you can open a program first and then use that program to open a file. Method one is the most popular because it is the easiest.

Almost all files have Icons attached to them. An icon is simply an image that is designed to represent a program and/or what a file does. For example. An icon with a Printer image might be representing a program that prints documents. Whereas an icon with a Paint Brush or Photograph image might be representing a painting program and/or be telling you the file is a photograph. When you double click on a file's icon the program (i.e Paint program) associated with the file (i.e Photograph) opens. So if you double click on a file (i.e Test.txt) that has a NotePad icon attached to it (so really, you are double clicking on the file's icon) the program NotePad will open and then display the text that is inside the file. If you opened a file (i.e Test.jpg) that had a Paintbrush icon attached to it the program Paint would open and then display the picture/photo that is inside that file. Here are some common icons:

 

The traditional folder icon. When you create a new folder/sub-folder it will have this image attached to it. The image can be changed with Windows Vista though.


 

The Microsoft Word 2007 icon. Double-Clicking on a file with this icon attached to it opens the program called Microsoft Word 2007, which in turn opens the file and then displays its Text, Drawings and so on. The file's name will end with the .docx file extension. Microsoft Word 2007 is meant for the creation of a Document file - A file that can contain Text, Pictures, Drawings and so on.


 

The Microsoft Excel 2007 icon. Double-Clicking on a file with this icon attached to it opens the program called Microsoft Excel 2007, which in turn opens the file and then displays its Accounting Data. The file's name will end with the .xlsx file extension. Microsoft Excel 2007 is meant for the creation of an Accounts Data file, but it can contain other data as well.


 

The Microsoft Access 2007 icon. Double-Clicking on a file with this icon attached to it opens the program called Microsoft Access 2007, which in turn opens the file and then displays its Database Records. The file's name will end with the .accdb file extension. Microsoft Access 2007 is meant purely for the creation of a Database file.


 

The Internet Explorer icon. Double-Clicking on a file with this icon attached to it opens the program called Internet Explorer, which in turn opens the file and then displays its Internet Information contents. The file's name will end with either the .htm or .html file extension. HTM and HTML files are made by a programmer for use with The Internet/Internet Explorer.


 

The Notepad icon. Double-Clicking on a file with this icon attached to it opens the program called Notepad, which in turn opens the file and then displays its Text. The file's name will end with the .txt file extension. Notepad is a Text Editor that is meant primarily for the creation of a (small-ish) Text file.


 

The Help Document icon. Double-Clicking on a file with this icon attached to it opens a Help Window, which in turn opens the help file and then displays its Help Index/Menus. The file's name will end with the .hlp file extension. Help Documents are made by Programmers/Special Programs.


 

The Picture icon. Double-Clicking on a file with this icon attached to it opens the default Paint program, which in turn opens the picture file and then displays the Picture/Drawing/Photo. The file's name will probably end with either the .jpg, .bmp, .tif, or .png file extension. Picture files are created with a Paint program, from a Scanner and so on.


 

A Media icon. Double-Clicking on a file with this icon attached to it opens the default (normal) Media Player, which in turn opens the media file and then plays the Audio/Video. The file's name will probably end with either the .wmv, .avi, .mpg, .wma or .wav file extension. Audio/Video files are created with Hardware Devices and/or Software Emulators.


The above are just a few of the common Icon Types - There are plenty more out there. Just remember what was said in the Folder and Files section though, because at the end of the day each file will only belong to one File Type.

So now you know about opening a file with method one, by double clicking on a file's icon, let's look at method two. With method two you are going to execute (open/launch) the text editor (program) called Notepad, in order to then open a file, by following these next steps.



Fig 1.1  Click on the START button, to reveal the Start Menu.

Click on the START button, to reveal the Start Menu. In this example you will notice I have previously pinned Notepad to the Pinned-To (left-hand) side of the start menu. This means you could just click on the NotePad icon to open Notepad, but I will assume that Notepad is not pinned to your start menu and therefore will show you how to open Notepad from the ALL PROGRAMS Programs List.

 
Fig 1.2  Click on, or hover over, ALL PROGRAMS....
 
Fig 1.3  ....to display the Programs List

Begin by clicking on, or hovering over, ALL PROGRAMS (Fig 1.2 above) to clear the Pinned-To list of programs and display the Programs List instead (Fig 1.3 above). The programs list is made up of commonly installed/used folders and files (see the Start Menu section for more information).

When you first use ALL PROGRAMS the last program (or folder) you used is normally the first program (or folder) to be highlighted, in blue. This is just your starting point, you do not have to do anything with the first program (or folder) though. In fact, as soon as you move the mouse pointer over the ALL PROGRAMS Programs List the highlighted program (or folder) is un-highlighted and the program (or folder) you are now hovering over becomes highlighted. In this example (Fig 1.3 above) AVG 7.5 is the first highlighted folder.

With the Start menu already showing the All Programs programs list (Fig 1.3 above), and the mouse pointer hovering over BACK, start moving the mouse pointer upwards until it reaches the folder (yellow icon) called Accessories (Fig 1.4 below). As you do this each folder in turn will become highlighted as the mouse pointer hovers over it, but only until you hover to the next folder and then finally reach the Accessories folder. When you reach the Accessories folder simply click on it (Fig 1.5 below) to reveal what programs (files), and sub-folders if any, there are inside it.

 
Fig 1.4  Move the mouse pointer upwards, towards the Accessories folder.
 
Fig 1.5  Click on the Accessories folder to view its contents

After clicking on the Accessories folder the programs, and any sub-folders, inside it are revealed (Fig 1.5 above). In this example the programs inside the Accessories folder go from Calculator down to Wordpad (the fourth program down is Notepad). And the sub-folders inside the Accessories folder go from Ease Of Access down to Tablet PC.

The mouse pointer will probably be underneath the Accessories folder, but regardless of where the mouse pointer is the Accessories folder will still be highlighted in blue (Fig 1.5 above). So the next thing to do is move the mouse pointer, four items downwards, until it is hovering over Notepad (Fig 1.6 below). At this point keep the mouse pointer still, whilst over Notepad, and then click the left mouse button. This will execute (open/launch) the program (text editor) called Notepad (Fig 1.7 below).

 
Fig 1.6  Move the mouse pointer over Notepad and then left click on it to execute it

When the program called Notepad has been executed (opened/launched) as above it starts with an empty edit box (the main white area of its window) in which you can type something into it. Ideally, you type a Letter into it for example and then save that Letter as a file - See the Save A File section for more information.

On the other hand, you might want to open an existing file. Perhaps an half-written letter, an essay or whatever. In which case click on Notepad's File menu, to display its menu-items, and then select (click on) the OPEN menu-item (Fig 1.7). After doing this an Open file requester will appear (Fig 1.8).

 
Fig 1.7  Click on the File menu and then select the OPEN menu-item



Fig 1.8  The OPEN File Requester

To open a file, in Notead's case a Text file, you first need to locate/know which folder or sub-folder the file is inside. Locating a folder or sub-folder is done by using either the Address Bar's edit box (exampled in the Save A File and Path Names sections), the Favorite Links or the Folders view (both located on the left-side of the Open file requester). In this example I will use the Folders view, which shows the user folders (i.e Yoingco folders), to open a file called Test.txt - Test.txt (from the Save A File section) is inside the (sub-)sub-folder Ingredients, which in turn is inside the sub-folder Cooking, which in turn is inside the Documents folder.

As you can see (Fig 1.8 above), the Documents folder is the currently displayed folder (look at the main display area/window pane and the Address Bar's edit box) and the currently selected folder (look at the Folder view - bottom-left window pane). It has six sub-folders inside it - Business, Cooking, My Data Sources, My Received Files, OneNote Notebooks and Updater5. Regardless of the other five sub-folders I know I need to be inside the Cooking sub-folder in order to then get inside the Ingredients (sub-)sub-folder, therefore the first thing I need to do is click on the Cooking sub-folder (Fig 1.11) to get inside it (Fig 1.12).

As you hover over a folder or sub-folder arrow-markers start to appear (Fig 1.9) to denote whether a folder is open (black-arrow) or closed (clear-arrow). Clicking on an arrow-marker (Fig 1.10) either opens or closes a folder or sub-folder.

 
Fig 1.9  Hover over a folder/sub-folder to reveal the arrow-markers
 
Fig 1.10  Click on an arrow-marker to open/close a folder/sub-folder

 
Fig 1.11  Click on a folder/sub-folder to open it....
 
Fig 1.12  ....and to display its contents inside the main window pane.

Once the Cooking sub-folder is open its contents (Folder and/or Files) are displayed inside the main window pane (Fig 1.12 above). From there I then have to double click on the Ingredients (sub-)sub-folder, inside the main window pane, in order to see the file called Test.txt (Fig 1.13 below). Double clicking on Ingredients not only takes me inside the Ingredients (sub-)sub-folder and then displays its contents (i.e Test.txt) but it also updates the Folder view by showing me that Ingredients is open and is the currently selected folder (Fig 1.14).

 
Fig 1.13  Inside the Ingredients (sub-)sub-folder
 
Fig 1.14  The Folder view has been updated to the current folder

A quicker way to get inside the Ingredients (sub-)sub-folder would of been to open it from the Folder view at the beginning - When the Open file requester appeared (Fig 1.8 above) I could of simply clicked on the arrow-marker next to Cooking (Fig 1.15 below), to open Cooking and display its sub-folders, and then clicked on Ingredients (Fig 1.16).

 
Fig 1.15  Click on Cooking's arrow-marker to show Cooking's sub-folders....
 
Fig 1.16  ....and then click on Ingredients to open Ingredients.

Regardless of how you open a folder or sub-folder, in order to see the file you want to open, the next step is to actually open the file. This can be done by simply double clicking on the file you want to open or by selecting (clicking on) the file you want to open and then clicking on the OPEN button.


Fig 1.17  Select a file to open and then click on the OPEN button to open that file....



Fig 1.18  ....The file has been opened successfully.

As you can see, to open a file is very very easy - Either select it and OPEN it or simply double click on it. The complex part for some people is locating the file's folder or sub-folder via the Open file requester. That is why it is important to know about Folders & Files and their hierarchy.

After clicking on the OPEN button Notepad opens the Test.txt file, reads the text inside it and then displays that text (Fig 1.18 above). It reads the text first so it knows how to display it properly. If the data is not text data, but picture data for example, it will not know how to display it properly and therefore just displays it as rubbish text.


Fig 1.19  An example of Notepad displaying Picture (john.jpg) data as text

Going back to the file requester, you can change some of the elements on it. For example the File name edit box. It allows you to either type in an existing file name (no point, you would just click on a file name instead) or use its drop-down menu to select an existing file name, which already has the path name attached to it - The path name and file name can be different from the current path name and file name. In Fig 1.20 I am going to open the Shopping List.txt text file which is in the Documents folder.

 
Fig 1.20  You can change the file to open by using the File Name drop-down menu

The other element you can change on the file requester is the Files of type, which is a drop-down menu. It has two menu-items to choose from. All Files and Text Documents (*.txt). All Files, when selected, will show you all the files in a given folder or sub-folder regardless if they are text files or not. From there you can open a file of any type, like a Picture file. But remember, a non-text file like a picture file will be displayed as rubbish text (Fig 1.19 above). So really, you should keep the File of type menu-item set to its default (normal) setting of Text Documents (*.txt) which only allows text files to be opened. So what is the point of this? Well. Selecting All Files allows you to display (see) other text file types that have a different file extension - A text file with the file extension .INI for example, which is a text file for the system to read. Its text might contain system information like [XP] SP2=Installed, USERS 1. If you were using Wordpad instead of Notepad the default file extension would be .rtf (Rich Text Format), in which case you could change the file extension to .txt by selecting .txt from the drop-down menu.

 
Fig 1.21  Notepad - Open as a Text file.
 
Fig 1.22  Wordpad - Open as a Text file.

Do not worry about the Encoding drop-down menu. It should have ANSI selected, but if it does not (very unlikely) just click on its drop-down menu and then select the ANSI menu item.

So to recap, because a lot was explained above. Go to the File menu of an opened program (Paint program, Text Editor or what ever) and then select (click on) its OPEN menu-item. The Open file requester will then appear and you do as above to locate a file you want opening. Once you have located the file, using the Open file requester, either double click on the file or select it and then click on the OPEN button. Alternatively. If a file (i.e john.jpg) is inside a folder/sub-folder, or on the desktop, for example simply double click on its (photograph) icon to open the program (i.e Paint.exe) associated with the file.

One thing you should remember when opening files is that once one program is opened with one file, opening a second file might open a second window in that program - depending on the program. In other words. Notepad only opens one window to display one file's contents (text). You would need to open a second Notepad and File in order to display that second file's contents. Whereas, with a program like Microsoft Word 2007 it opens a seperate window for each file it opens. So the more windows and files that are opened the more memory your computer is using.



Rename A File Index Copy & Paste