It would be cool if more variables in the global options could be controlled by environment variables. For instance, I'm setting up backup scripts which back up to two different locations. One location will have versioning and the other will not. I don't really want to have to maintain two different global options files, in which the only difference is the versioning setting.
How about...
<DeletionPolicy>%FFSDeletionPolicy%</DeletionPolicy>
<VersioningFolder Style="%FFSVersioningStyle%">%FFSVersioningFolder%</VersioningFolder>
Also, I seem to have something weird going on when I set a folder location to an environment variable, and then leave that variable undefined. I get folders added to the same folder I run the batch file from, with names like %FFSVersioningFolder%, %FFSBackupDrive%, %FFSLogFolder% (these correspond to various environment variables).
Reference: viewtopic.php?t=1554
More script friendly?
- Posts: 10
- Joined: 25 Mar 2003