You are here

Environment Variables

6 posts / 0 new
Last post
carlb
Offline
Last seen: 16 years 1 week ago
Joined: 2008-04-13 12:21
Environment Variables

Have I misunderstood something or is there not support for environment variables in Toucan? This would be greatly appreciated if it is not already supported.

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2005-12-10 15:22
Indeed

there is, simply wrap the environment variable name in @ signs e.g. @TEMP@ and you should be set Smile

timwong
Offline
Last seen: 14 years 7 months ago
Joined: 2009-08-03 23:05
Env. Variables Still Working in release 2.1.1??

I wonder if the new vesrion still support Windows environment variables.

The version I used is 2.1.2. runnig on the Windows XP prof (SP3).


1) use the Rules tab to set up the rule "rule-01" as follow:
   #- Folder to exclude:
       c:\
   #- Location always include (...)
       @userProfile@\My Documents\back-002
2) Switch to Backup tab to check the "rule-01" works or not
   a) select the "rule-01" in Rules box
   b) highlight C: and then press '+' to add 'C:' to File to Backup
   c) press Preview button
   d) navigate to the parent diretcoty of the back-002 directory
   e) the color of back-002 is still red

The result shows enviromrnt varible "userProfile" is not working.

Have I missed sth?

Tim

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2005-12-10 15:22
Thanks

for the feedback, Toucan currently doesn't support variables inside rules, I will get it added for the next release however, then you should find it works fine Smile

timwong
Offline
Last seen: 14 years 7 months ago
Joined: 2009-08-03 23:05
Thank

for your effort. It is a nice tool.

timwong
Offline
Last seen: 14 years 7 months ago
Joined: 2009-08-03 23:05
In Pre-Release-3

I found the varibles inside rules are supported. Looking forward to the stable release. Thanks!

Tim

Log in or register to post comments