| 1 | :h2 res=91400 name=PANEL_RENAME.Renaming
|
|---|
| 2 | :i1 id=aboutRenaming.Renaming
|
|---|
| 3 | :artwork name='\fm3\bitmaps\rename.bmp' align=center.
|
|---|
| 4 | When you rename a file sytem object other than by :link reftype=hd
|
|---|
| 5 | res=98200.Direct Editing:elink., or a naming conflict arises, you get
|
|---|
| 6 | the Rename dialog. Note that not all the controls discussed appear for
|
|---|
| 7 | simple rename procedures -- some are applicable only when copying or
|
|---|
| 8 | moving files.
|
|---|
| 9 | :p.
|
|---|
| 10 | The dialog displays the :hp1.Source filename:ehp1. and proposed
|
|---|
| 11 | :hp1.Target filename:ehp1., along with information about both objects.
|
|---|
| 12 | :p.
|
|---|
| 13 | Below these two fields is an outlined text box that attempts to give you
|
|---|
| 14 | directions on what to do (usually to change the target filename -- when
|
|---|
| 15 | renaming, the target name is initially the same as the source name). If
|
|---|
| 16 | the target file exists, you will be told whether the source is larger or
|
|---|
| 17 | smaller, older or newer. You will be told whether the source and target
|
|---|
| 18 | are files or directories. Sometimes you may see a warning "cannot
|
|---|
| 19 | access source." This means that FM/2 could not open the source file in
|
|---|
| 20 | a test, and may indicate that the file is already in use and thus OS/2
|
|---|
| 21 | may not allow it to be renamed, moved or copied. You can use this
|
|---|
| 22 | information display to make decisions more easily.
|
|---|
| 23 | :p.
|
|---|
| 24 | After entering the new target name, click :hp1.Okay:ehp1.. If the new
|
|---|
| 25 | target name exists, the display will be updated to reflect the new
|
|---|
| 26 | information. You can, at that point, enter a new name to avoid the
|
|---|
| 27 | conflict or click :hp1.Overwrite:ehp1. (which will destroy the old
|
|---|
| 28 | target file, keeping in mind that you can't overwrite a file with
|
|---|
| 29 | itself). :hp1.Skip:ehp1. can be used to skip one file when you are renaming
|
|---|
| 30 | several in one action; nothing will be done for that file. Click
|
|---|
| 31 | :hp1.Cancel:ehp1. if you change your mind and want to abort the whole
|
|---|
| 32 | thing.
|
|---|
| 33 | :p.
|
|---|
| 34 | The :hp1.Rename Existing:ehp1. button allows you to rename (move) the
|
|---|
| 35 | existing file system object which is causing a naming conflict. For
|
|---|
| 36 | example, if you are trying to copy a file to "C&colon.\MYFILE" and a
|
|---|
| 37 | "C&colon.\MYFILE" already exists, you could change the target name as
|
|---|
| 38 | desired, click :hp1.Rename Existing:ehp1. to rename (move) the existing
|
|---|
| 39 | file out of the way, then click :hp1.Okay:ehp1. to continue the copy
|
|---|
| 40 | operation.
|
|---|
| 41 | :p.
|
|---|
| 42 | The :hp1.Overwrite if target older or same:ehp1., :hp1. Overwrite if
|
|---|
| 43 | target newer:ehp1. and :hp1.Don't ask again:ehp1. checkboxes can be used
|
|---|
| 44 | in combination to avoid seeing this screen again for naming conflicts.
|
|---|
| 45 | Files which have existing targets that do not match an overwrite
|
|---|
| 46 | characteristic will be automatically skipped. For example, if you don't
|
|---|
| 47 | check either of the Overwrite... checkboxes, all existing files will be
|
|---|
| 48 | skipped, but if you check the ...older checkbox, all existing files
|
|---|
| 49 | older than the source file will be overwritten, while existing files
|
|---|
| 50 | newer than the source file will be skipped. Exception: You will always
|
|---|
| 51 | be prompted if you try to overwrite a directory with a file.
|
|---|
| 52 | :p.
|
|---|
| 53 | Wildcard characters '?' and '*' can be used in the target name --
|
|---|
| 54 | behavior is OS/2 standard.
|
|---|