|
The file name may or must include an extension of three (3) characters or less, depending on its function or on the program used to create it (programs recognize the extensions set by the criteria of the programs operating files - many programs automatically assign a unique ext ension and recognize their own data files that way).
The extension that follows a file name and is separated from it by a dot or period; i.e. oneleter.doc (a text file); or runafile.bat (a batch file of ASCII text - executable); or sol.exe, which starts your solitaire game, and edit.com, the DOS edit command file (.com & .exe are executable machine language files).
Most programs will automatically store the files we create within the directory which contains the program.select, but you still may want to create a sub-directory to further isolate specific files of a similar nature or subject. The following example refers to text files created in MS Word for Windows (winword is the program directory or folder) and we will use correspondence as an example.
Examples: You might write both business and personal letters, so it would be practical to store them in: c:\winword\letters\ personal\ and in c:\winword\letters\business\. The directories (folders*) can be created in either DOS or in the windows File Manager (or in Windows95 Explorer). Winword stores its documents, text files, with an extension .doc (MS Works text files are called Word Processing files and the extension is .wps).
So now, in MS Word for Windows, I write a letter to my Aunt Mary and another letter to Microsoft. When the letter to Aunt Mary is finished, I select File from the menu bar and select Save As ... then in the dialog box that appears, I select (click on) the Winword directory (folder*), select the Letters sub-directory (folder*), then select the Personal sub-directory (folder*), and in the File Name box I type in: Mary797 (for my letter to Aunt Mary dated July 10, 1997).
If you want to send the same letter to your Aunt Ella, you could change your salutation to Dear Aunt Ella, then select Save As and save the file as Ella797 , c:\winword\letters\ personal\ella797, and both letters ( files) would be stored in letters\personal. Then I type my business letter to Microsoft and when done, Save As c:\winword\letters\business\msft797 .
In Windows 3.1 File Manager or Windows95 Explorer, you can do a Search to find a file IF you remember the files name.
A tree showing the locations of the above named files would look as follows:
c:\winword (directory)
letters (a sub-directory of winword)
personal (a sub-directory of winword, letters)
ella797.doc (a file stored in winword, letters, personal)
mary797.doc (a file stored in winword, letters, personal)
business (a sub-directory of winword, letters)
msft797.doc (a file stored in winword, letters, business)
Select File, Alt+F, then in the drop down menu: Select Save As, A, for the Dialog Box shown here. Now, select the Dri ve, Alt+V; the Directory List, Alt+D ; File Name, Alt+N; and Save File as Type, Alt+T.Programs may give options for several file formats in which a text file may be saved - your software provides conversion factors.
* In Windows95, the tree structure for saving a file is the same as the above, except for different terminology; i.e., in Windows 95, a directory is a folder.
Ann Smith, a HAL-PC member, is the Assistant Instructor, Daytime Courses.
Back to the Magazine Home Page
Last modified: 1997:08:31