home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
wp4
/
wf200-c.lzh
/
WF.008
< prev
next >
Wrap
Text File
|
1989-12-22
|
10KB
|
256 lines
.f3 - # - Chapter 8 - Managing Files
.rm70
.mt5
.mb5
.pl66
.tc
.tc 8. MANAGING FILES .....................................#
8. MANAGING FILES
.tc Displaying a Directory of Files ....................#
Displaying a Directory of Files
To display the files in a directory:
1. Press Shift F1 to bring up the Pulldown Menu.
2. Press M for Miscellaneous, followed by D for Directory.
Alternatively press whatever command keys you have installed. The
default is no installed command keys.
A window will open with the words
Directory Mask: *.*
3. Now you have a number of choices:
■ Press Enter to see a directory of all files on the default disk
in the default directory.
■ Type a drive and path specification, then press Enter to list all the
files on another drive or another directory.
■ Type any other valid response used with the DOS DIR command. Press
Enter.
4. If the window fills up, pressing Page Down will show you the
next page of files. You can also use the Up and down arrows to
scroll through the list.
.tc Attaching a Description to a File ...............#
Attaching a Description to a File
The directory can optionally display one line descriptions of the
files. If you have set them up, they will automatically display
when you display the directory list.
A description can be attached to a file in 2 ways.
Add A Description To Current File
If you are editing a file, you can attach a description to it by
pressing Ctrl K E. A pop up window will open, displaying the
current description, and allowing you to enter a new one. Press
Enter to save the new description, or ESC if you change your mind.
The new description will display alongside the filename in any
future directory display.
Edit Directory Listing
If you have a directory displayed, you can highlight a file name by
using the cursor keys to scroll up and down. You can also travel
quickly to the vicinity of the file by pressing the initial letter
of its name, and then scrolling to highlight the one you want.
Press F1 to edit the description of the highlighted file. A pop up
window will open, displaying the current description, and allowing
you to enter a new one. Press Enter to save the new description, or
ESC if you change your mind. The new description will display
alongside the filename in any future directory display.
The descriptions are stored in a file called FILEINFO.WF which is
in the same directory as the files. If you have several different
directories, you can have a FILEINFO file in each directory. This
file only stores details of files that have comments. However, if
you add a comment, and subsequently delete the file to which it is
attached, the entry still resides in the FILEINFO file. The same
applies if you add a comment and subsequently set that comment to
spaces. To prevent the file from accumulating rubbish, you need to
pack the file from time to time.
Packing the Description File
This procedure runs through the description file (FILEINFO.WF) in
the directory you specify, and checks that each entry in the file
actually exists in the directory. In addition it also checks for
entries where the description is blank. All these entries are
deleted from the file.
You invoke this command by pressing Ctrl K Z. You will be prompted
for a file to pack, and the prompt will default to the one in the
directory in which the file you are editing resides. If the file
cannot be found, you will be notified by an error.
.Tc Changing the Logged Drive or Default Directory .....#
Changing the Logged Drive or Default Directory
The default drive and directory is where Word fugue will look for
files to edit when you do not give the full pathname for the file. If
you use include files in your text, you will need to have the default
drive and directory correct if printing, table of contents generation
and so on is to work correctly and find all files.
Press Ctrl J D (the default installed command)
OR
press Shift F1 to bring up the Pulldown Menu, followed by M for
Miscellaneous followed by C for Change Directory.
A window will open, and you will be prompted with
New Drive or Pathname:
along with the name of the current directory and the current drive
letter. You can edit the line or you can type in a new entry. If you
enter an invalid path, you will be informed of the error. In this case
the default drive & path are unchanged.
.CP6
.tc Opening a File .....................................#
Opening a File
As discussed in chapter 3 (Starting Word Fugue), there are several
methods of opening a file.
.cp6
Open a New File in the Current Window
This is achieved by pressing F3. If the existing file has been
modified, you will be prompted to save it. Then you will be prompted
for the new file name to edit.
Save and Open a New File in the Current Window
This is achieved by pressing Ctrl K D. The current file is saved
regardless of whether it has been modified, and you are prompted for a
new file to edit.
Open Another File
This command opens another window, and prompts for a file name to
edit. The current window becomes the previous window. This is
discussed further in the chapter on windows. The command is Ctrl O A.
.tc Close A File .......................................#
Close A File
If you do not wish to edit another file, there are several commands
that can be used, and they work in slightly different ways.
Save Files and Quit
This command saves all modified files and then quits or exits back to
DOS. Press F10 or Ctrl K X.
Quit
This commands prompts you whether to save each modified file, and then
exits back to Dos. Press Ctrl K Q.
Close Window
This command closes the current edit window. Press Shift F4. If you
have other windows open, you will be moved to the next window in the
list. If you do not have other windows open, you will be left in the
Pulldown Menu, in the Files Submenu. If you want to open a file, you
must select the Open Another option to open a window and prompt for a
file.
.tc Save File and Continue .............................#
Save File and Continue
To save a file and continue editing it press Ctrl K S or F9. word
fugue will save the file, and you will be able to continue editing it.
It is advisable to do this on a regular basis, in case a power failure
or similar stops your machine. Regular saving of your work will
prevent you losing an entire days' work.
.tc Save As Different File and Continue Edit ...........#
Save As Different File and Continue Edit
This writes the changed file out to disk as a different file, and then
continues editing the file under the new name. This is very useful if
you have to create a file that is similar to another one. You
accomplish this by pressing Ctrl K A or by pressing Shift F9.
If you change your mind when the filename prompt appears, press ESC.
.tc Include File .......................................#
Include File
A file can be included within another file by placing a .FI command in
column one of a new line. Follow the command by tha name of the file
you wish to include. When you print the file, or generate tables of
contents etc, the file will be processed as if it had been copied in
place of the .FI line. The file that is included can itself include
other files, up to a depth of 5:
Text in file A
.fiB
More text in file A
Text in file B
.fiC
Text in file C
This is very useful for breaking up large documents into chapters and
so on.
.tc Expand Include File ................................#
Expand Include File
Once you have put a .FI line into a file, it is very easy to edit the
file that you are including. Simply place the cursor anywhere within
the .FI line, and press Alt F. Word Fugue will open up a new window
and edit the file in that window.
.tc Get Info ...........................................#
Get Info
This command displays information about the file you are editing, as
well as a word count. Press Ctrl J V when you have the file in the
current window. When you have finished with the information, press ESC
to continue.
.tc Writing A Block to a File ..........................#
Writing A Block to a File
To write a block of text to another file:
1. Mark the block of text with Ctl K B and Ctl K K.
2. Press Ctl K W. A window will prompt:
filename:
3. Type a file name and press Enter.
If the block is defined as a column, only a column will be written.
.CP7
.tc Reading a File into the Current File ...............#
Reading a File into the Current File
To insert a file into the file you are editing:
1. Press Ctl K R where you want the file inserted. A window will
prompt
filename:
2. Type a file name and press Enter. The file will be inserted after
the cursor.
The file is treated as not column mode, and the setting of the
destination window are ignored.
TIP If you want to read in a file as a column, open a separate
window for the file, and read it there. Then set the column
settings you want, mark the block of text in the file, and Copy
or Move it to the Destination window.