The Microsoft article Naming Files, Paths, and Namespaces
explains relative paths as managed by Windows file systems.
A file/folder name starting with .\
or directly with a file/folder name is relative to current directory
of the running process. For that reason a backup directory specification with backups
results in creating the backup files in a subdirectory backups
in current directory of UltraEdit.
What is the current directory
for running UltraEdit instance can be seen for example on running from within UltraEdit the DOS Command (not good name as in real a Windows CMD command can be executed only nowadays) dir
with leaving Working directory
empty in Dos Command
dialog window. UltraEdit creates the directory tree to backup directory automatically if necessary.
However, the backup concept you want with saving a file in a subfolder backups
of current folder of saved file can be achieved with following settings at Advanced - Settings or Configuration - File handling - Backup
- No backup is selected for Backup files on save.
- Default backup directory is empty because of not used at all.
- Version backup is enabled by checking On save and using for Format the string backups\$n$e.bak and 1 is set for Maximum number of backups.
A file to save is copied first with these backup settings with .bak
appended to file name into subfolder backups
of the folder containing the file created automatically by UltraEdit if not already existing and then the modified file is saved in its folder.
UltraEdit saves version backups as well as normal backups by default in folder of file to save while the Default backup directory
is interpreted as absolute folder path and in case of being a relative path because of user has entered a relative folder path, UltraEdit left it over the operating system respectively the file system where the backup folder is located.