Top Banner
1 Chapter 7 Working with Files
36

1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Dec 25, 2015

Download

Documents

Marion Harrell
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

1

Chapter 7

Working with Files

Page 2: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

2

What’s inside and on the CD?

• This chapter helps you to understand:

– How to best name your files– Where to store them– How to access them– How to maintain an orderly set of files on your disks

Page 3: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

3

What’s a file?

• A file is a collection of data that:– Has a name– Is stored on:

• A computer disk• Tape• CD• DVD• USB flash drive

• Virtually all information is stored as a file

Page 4: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

4

What’s a file?

• Files divided into two categories– An executable file is a program containing

instructions that tells PC how to perform specific tasks– A data file contains words, numbers, and pictures

you can manipulate – There are several ways to access data files

• Open option on application software’s File menu• Start menu’s Documents option• Windows Explorer’s file management utility

Page 5: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

5

What’s a file?

• Every file has file properties that describe its:– Name– Type – Location – Size– Dates created, modified, and last accessed

Page 6: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

6

What’s a file?

• Files can be:– Read-only – cannot be modified or deleted– Hidden – does not appear in file lists and cannot be

used unless you know name and location– Marked for archiving for backup– Protected by passwords against unauthorized access

• File properties are assigned by the operating system• Files created in Windows Vista can have descriptive

tags assigned by users

Page 7: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

7

What’s a file?

Page 8: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

8

Can I use any name for a file?

• As you create documents, graphs, and pictures, PC holds in memory

• When transferring to permanent storage, you must assign unique name

• To check limitations for an application, check Help or reference manual

• With current versions of Windows, you can use long file names (descriptive file names)

Page 9: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

9

Can I use any name for a file?

• In long file names, some symbols and file names are not allowed

HW2: Why these names are not allowed?

Page 10: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

10

Can I use any name for a file?

• A file extension is a set of characters added to file name to indicate file’s type or origin

• A file extension is separated from file name by period and is typically three characters long

• A default file extension is automatically assigned unless you change it

Page 11: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

11

Can I use any name for a file?

Page 12: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

12

How do I change the name of a file?

• Process of changing file name in Windows Explorer is called “renaming”

• Process is straightforward except for small twist involving extensions– Windows may show extensions or not

• To change setting– Select Folder Options from Windows Explorer Tools

menu (XP)– Use the Organize button to access folder and

Search Options (Vista) • If file extension is seen, than you must include file

extension with new name• If file extension is not seen, extension is added

automatically by Windows

How to display the file extension

Page 13: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

13

How do I change the name of a file?

Page 14: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

14

How do I get a list of my files?

• In Windows Vista, you can use a folder window to view a list of files and organize them

• The quickest way to view a list of files is to click your user name on the Start menu

• The Views button changes the way the file list is displayed– Icon View– List View– Details View– Titles View

• A folder window can be customized by clicking the Organize button

Page 15: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

How do I get a list of my files?

Practical Computer Literacy, 2nd edition Chapter 7

15

Page 16: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

How do I get a list of my files?

• In Windows XP, the preferred way to display folder windows is by starting Windows Explorer– Right-click Start button– Click Explorer

• Windows Explorer is divided into two panes– Folders pane– Files pane

Practical Computer Literacy, 2nd edition Chapter 7

16

Page 17: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

How do I get a list of my files?

• Click gray heading bars to rearrange the list• The Views button on the View menu changes the way

the file list is displayed:– Thumbnails View shows tiny versions of graphic files– Tiles View displays large icon for each file, plus file

name, type, and size– Icons View displays medium-sized icon for each file

and its name– List View displays file name with small icon indicating

type– Details View displays file name, size, type, and date

modified

Practical Computer Literacy, 2nd edition Chapter 7

17

Page 18: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

How do I get a list of my files?

Practical Computer Literacy, 2nd edition Chapter 7

18

Page 19: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

19

How do I navigate to various folders and storage devices?

• Most files are stored on a computer’s hard disk• To transport a file, you might store it on a USB flash

drive or CD• To share, you might store it on network drive• Each storage device identified by letter

– Hard disk drive is letter C• Windows uses icons to indicate storage device types

Page 20: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

20

How do I navigate to various folders and storage devices?

• Most files on storage device organized into folders (“directory”)– Can hold other folders called subfolders– Resulting hierarchical structure

• Device letter, folder, file name, and extension – known as path – provide information necessary to store and retrieve a file

Page 21: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

21

How do I navigate to various folders and storage devices?

Page 22: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

22

How do I navigate to various folders and storage devices?

• In Windows Vista– Click a icon to expand the directory hierarchy and

show subfolders– Click a icon to collapse the directory and hide

subfolders• In Windows XP

– Click plus-sign icon to expand directory hierarchy and show subfolders

– Click minus-sign icon to collapse directory and hide subfolders

– Click device or folder to open it or display list of files it contains

Page 23: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

23

How do I find a specific file?• If you know the folder where a file is stored, use a folder

window or Windows Explorer to open folder• Use the Windows Vista Search box or Windows XP’s Search

Companion• Vista’s Search box allows you to enter all or part of a file name• Search Companion allows you to search for a file by:

– Name– Phrase contained in file

• Search:– Entire disk or specific folder– By date and size

• Search Companion displays list of files matching your criteria; double-click any file to open it

Page 24: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

How do I find a specific file?

Practical Computer Literacy, 2nd edition Chapter 7

24

Page 25: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

25

How do I find a specific file?

• Search wildcard helps when you don’t know exact title or phrase for file– * wildcard stands for series of unknown characters– ? wildcard stands for single unknown character

Page 26: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

26

What’s the best organization for my files?

• Key to organizing files is to create clearly structured set of files

• If number becomes difficult to manage, create additional folders and move files into them

• In Windows Vista, click Organize button and then click New Folder

• In Windows XP, click the File menu, then select New• When you move file, Windows places it on Windows

Clipboard• After selecting new location, Windows “pastes” it to new

location

Page 27: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

27

What’s the best organization for my files?

• Helpful hints to improve files organization:

– Use descriptive names for files and folders– Always store your data files in a folder– Whenever possible, store your files in your personal

folders– Create subfolders of your personal folders as

necessary– Try not to store your data files in the folders that

contain program modules– Delete unneeded files and folders

Page 28: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

28

What’s the best organization for my files?

Page 29: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

What’s the best organization for my files?

Practical Computer Literacy, 2nd edition Chapter 7

29

Page 30: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

30

How do I delete files and folders?

• When files or folders are no longer needed, delete them so hard disk drive works more efficiently

• To delete a file, simply right-click it and select Delete from shortcut menu

• You can delete folder same way but be aware that all files in folder are deleted

• If Windows displays a “Disk Full” message, empty Recycle Bin before deleting hard drive files

• Deleted files from hard disk are retrievable from Recycle Bin

• Files from other devices, such as USB flash drives, are not retrievable

Page 31: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

31

How do I delete files and folders?

Page 32: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

Practical Computer Literacy, 2nd edition Chapter 7

32

How do I back up important files?

• You need a backup plan to recover data wiped out by operator errors, viruses, or hardware failures

• Backup is usually stored on different storage medium from original files

• Today, backups are usually stored on CDs, DVDs, USB flash drives, or Web sites– File synchronization– Restore points– Recovery disk

• Backup software is a set of utility programs designed to back up and restore some or all of the files on a computer’s primary storage device

Page 33: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

How do I back up important files?

Practical Computer Literacy, 2nd edition Chapter 7

33

Page 34: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

How do I back up important files?

Practical Computer Literacy, 2nd edition Chapter 7

34

Page 35: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

How do I solve common problems encountered when working with files?

• File can’t be found• Cannot modify a file• Access denied• Cannot open a shared file• Cannot open a locked or encrypted file• Cannot open a corrupted file

Practical Computer Literacy, 2nd edition Chapter 7

35

Page 36: 1 Chapter 7 Working with Files. Practical Computer Literacy, 2 nd edition Chapter 7 2 What’s inside and on the CD? This chapter helps you to understand:

How do I solve common problems encountered when working with files?

• Bad sectors• Hard disk failure• “Can’t read file” error message

Practical Computer Literacy, 2nd edition Chapter 7

36