when saving edited files, if you have opened files with the open file dialog, from multiple directories, all the .bak files end up in the last location opened, not in the original file locations of the files being edited.
eg
zeus c:\temp\test.txt d:\temp\test2.txt
open d:\temp2\test3.txt with the file open dialog
save files,
all .bak files are in d:\temp2
Grant
.bak files getting saved into last directory opened
Alternative backup directory: .
The . character represents the current directory.
With this setting I would expect to see the behaviour you are describing.
Each time you use the file open dialog you will be changing the current directory.
If you want the backup file to appear in the same folder as the file you should use the $fdd macro tag.
Cheers Jussi
Having given this some more thought it is clear the $fdd will not achieve the result you're after.
The $fdd represents the drive and directory of the active file so if you save the active file it will work.
But naturally if you use something like the file save all operation then $fdd will only represent the drive and directory of what ever is the active file at the time.
To achieve the result you're looking for I suggest adding a file save as trigger to make the backup in the correct folder.
Here is an example of how this can be done: http://www.zeusedit.com/zforum/viewtopic.php?t=6911
Cheers Jussi
The $fdd represents the drive and directory of the active file so if you save the active file it will work.
But naturally if you use something like the file save all operation then $fdd will only represent the drive and directory of what ever is the active file at the time.
To achieve the result you're looking for I suggest adding a file save as trigger to make the backup in the correct folder.
Here is an example of how this can be done: http://www.zeusedit.com/zforum/viewtopic.php?t=6911
Cheers Jussi
I'll give the file save trigger a try when I get time.
I had another look at the save trigger that I created earlier and it suffers the same issue of using the $fdd macro tag.
I wrote that macro based on a users request and in my haste to write that macro I resorted using those tags as they are very easy to use.
In any case I took a longer look at that macro and have made changes to it so that it no longer uses the macro tags.
The update macro can be found here: http://www.zeusedit.com/zforum/viewtopic.php?t=6911
Cheers Jussi