Hi,
First, Thank you for your job on Free File Sync!
I'm using FFS portable version with Liberkey. I can't be sure of the Drive
letter of this key. So i configure a script who set an env variable
%FFSYNC_DIR% at the insertion of the usb key.
In RealTimeSync windows I set the command line as this:
%FFSYNC_DIR%\FreeFileSync.exe
%FFSYNC_DIR%\Scripts\FullExternalBackup.ffs_batch.
This command line just work well in cmd window but FreeFileSync popup a
Windows error code 2: File not found
Are environment variables handle in command line input of RealTimeSync?
RealTimeSync and Windows error code 2
- Posts: 8
- Joined: 20 Aug 2012
-
- Site Admin
- Posts: 7307
- Joined: 9 Dec 2007
> configure a script who set an env variable %FFSYNC_DIR% at the insertion of
the usb key.
Maybe you could make use of FFS's ability to refer to a volume by name? See
helpfile -> Variable drive letters
> Are environment variables handle in command line input of RealTimeSync?
Currently not. I'll see to add support for them!
the usb key.
Maybe you could make use of FFS's ability to refer to a volume by name? See
helpfile -> Variable drive letters
> Are environment variables handle in command line input of RealTimeSync?
Currently not. I'll see to add support for them!
- Posts: 8
- Joined: 20 Aug 2012
Thank you for your answer. Yes I can use volume by name but is it supported in
command line input of RealTimeSync?
> Currently not. I'll see to add support for them!
It'll be great! :-)
command line input of RealTimeSync?
> Currently not. I'll see to add support for them!
It'll be great! :-)
-
- Site Admin
- Posts: 7307
- Joined: 9 Dec 2007
> but is it supported in command line input of RealTimeSync?
Unfortunately it is not. But according to your scenario it looks like it
should be supported. I'll see what I can do :)
Unfortunately it is not. But according to your scenario it looks like it
should be supported. I'll see what I can do :)
- Posts: 8
- Joined: 20 Aug 2012
OK, it will be great that all filesystem input act the same way: and
%system_variable%
This input are:
- FFS_GUI:
- Left and right directories
- Deletion handling (with versioning option)
- External applications Command Line in Global settings
- FFS_BATCH:
- Directories
- Filter (Include, Exclude)
- Deletion handling (with versioning option) in Synchronization settings
- Log files folder in Batch settings
- FFS_REAL:
- Folders to watch
- Command line
I know it's a lot of input but I do believe that when you done a generic
function for one it would be easier for the others.
Again, thank you for your work, and your time spend on this project! :-)
%system_variable%
This input are:
- FFS_GUI:
- Left and right directories
- Deletion handling (with versioning option)
- External applications Command Line in Global settings
- FFS_BATCH:
- Directories
- Filter (Include, Exclude)
- Deletion handling (with versioning option) in Synchronization settings
- Log files folder in Batch settings
- FFS_REAL:
- Folders to watch
- Command line
I know it's a lot of input but I do believe that when you done a generic
function for one it would be easier for the others.
Again, thank you for your work, and your time spend on this project! :-)
-
- Site Admin
- Posts: 7307
- Joined: 9 Dec 2007
I've added full support for environment (and internal) macros for:
- on completion
-RTS command
-external applications
I still don't know what to do with the "reference volume by name" feature. It
would be nice if it were also accepted everywhere. But the syntax "" is not
special enough and could accidentally hit on an unrelated file or folder name
containing brackets. For directory input fields this is not a problem, since
the "" is only expected at the beginning of the path, thous no ambiguity
possible. For all other fields, like "on completion, RTS command and external
applications" it could appear somewhere within the command line. A feasible
approach would be to harmonize syntax with macros like "%%", but it just looks
weird and less elegant. Yet a solution to be found...
- on completion
-RTS command
-external applications
I still don't know what to do with the "reference volume by name" feature. It
would be nice if it were also accepted everywhere. But the syntax "" is not
special enough and could accidentally hit on an unrelated file or folder name
containing brackets. For directory input fields this is not a problem, since
the "" is only expected at the beginning of the path, thous no ambiguity
possible. For all other fields, like "on completion, RTS command and external
applications" it could appear somewhere within the command line. A feasible
approach would be to harmonize syntax with macros like "%%", but it just looks
weird and less elegant. Yet a solution to be found...
- Posts: 8
- Joined: 20 Aug 2012
Thank you for this new features. I'll try that!!!!
I understand the issue for RTS command. But you can detect if is at the
begining of the input text. If not, it's not a volume name.
An other choice would be to ad a checkbox near the input text to
enable/disable volume name detection
I think an harmonize syntax would be great but it's not easy to have the
perfect solution. Your "%%" solution is not bad but you have to keep the
backward compatibility too.
I understand the issue for RTS command. But you can detect if is at the
begining of the input text. If not, it's not a volume name.
An other choice would be to ad a checkbox near the input text to
enable/disable volume name detection
I think an harmonize syntax would be great but it's not easy to have the
perfect solution. Your "%%" solution is not bad but you have to keep the
backward compatibility too.
- Posts: 8
- Joined: 20 Aug 2012
I update to the 5.6 FFS but I have the same problem. I checked the changelog
but I don't find this change. Is it a non public version yet?
but I don't find this change. Is it a non public version yet?
-
- Site Admin
- Posts: 7307
- Joined: 9 Dec 2007
I released v5.7 just a couple of minutes ago.
- Posts: 8
- Joined: 20 Aug 2012
OK, I'm to impatient ;-)
- Posts: 8
- Joined: 20 Aug 2012
It works fine! Thank you for this update! :)
-
- Site Admin
- Posts: 7307
- Joined: 9 Dec 2007
Thanks for your donation! :)
- Posts: 8
- Joined: 20 Aug 2012
You're welcome! You deserve it, and much more ;-)