Lugaru's Epsilon
Programmer's
Editor 14.04

Context:
Epsilon User's Manual and Reference
   . . .
   Command Reference
      abort
      about-epsilon
      align-by-tab
      . . .
      zoom-window
   Variable Reference
      . . .
      avoid-top-lines
      backup-by-renaming
      backup-name
      batch-auto-show-delim-chars
      beep-duration
      . . .
   Changing Epsilon
   . . .

Previous   Up    Next
backup-by-renaming  Variable Reference   batch-auto-show-delim-chars


Epsilon User's Manual and Reference > Variable Reference >

backup-name: preference variable

Default value: "%p%b.bak"

If you've set want-backups nonzero, telling Epsilon to make a backup whenever it saves a file, Epsilon uses this variable to construct the name of the backup file. The variable contains a template, which Epsilon copies, substituting pieces of the original file for codes in the template, as follows (examples are for the file c:\dos\read.me):

%p
The original file's path (c:\dos\).

%b
The base part of the original file name (read).

%e
The extension of the original file name (.me).

%f
The full name of the original file (c:\dos\read.me).

%r
The name of the file relative to the current directory. (read.me if the current directory is c:\dos, dos\read.me if the current directory is c:\, otherwise c:\dos\read.me).

%x
The full pathname of the directory containing the Epsilon executable.

%X
The full pathname of the directory containing the Epsilon executable, after converting all Windows long file names to their equivalent short name aliases.

By default, Epsilon renames the old file so it has extension ".bak".

More info:

Backup Files



Previous   Up    Next
backup-by-renaming  Variable Reference   batch-auto-show-delim-chars


Lugaru Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.