You are here

portable variables how to use?

6 posts / 0 new
Last post
ottosykora
Offline
Last seen: 1 day 19 hours ago
Joined: 2007-10-11 17:48
portable variables how to use?

Somehow I am missing here something completely or the manual is not clear.

How can I use the tab variables?
It says there are some variables like drive, date etc, but what to enter exactly where to get something out of it?

if I enter the example with @drive@\PortableApps\@date etc , nothin happends at all.

Trying to create new variable following the manual results in the name of the whole company domain to appear in the big window and nothing more.

Can someone give me some more precise example where to type what and where then see what.

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

probably the manual being unclear Smile

To use the built in portable variables simply include them in the relevant box. For example to back up the portable apps directory on my USB drive I would put

@drive@\PortableApps

in the source folder.

When you create your own portable variables you need to use the Portable Variables tab. Click on the plus button near the top to give it a new name. Then you need to define where this variable will point to on each computer. If you are on a computer that hasn't got a specific entry then it will use what you have put in the 'Other' path.

If you have any more questions, please ask.

ottosykora
Offline
Last seen: 1 day 19 hours ago
Joined: 2007-10-11 17:48
still confused

include in the relevant box? what box where it is?

to enter @drive@\PortableApps
into the source folder, what is meant here by source folder? Under folder I understand something like windows folder, means directory or so. Do you mean to enter it here? as what? as File or ??? confusing soory for that, but I am not the youngest and it might take more steps for me.

Where or what do you do with @date@ exactly? On cammand line or where do you get any response to it?

Otto Sykora
Basel, Switzerland

dber
Offline
Last seen: 14 years 8 months ago
Joined: 2008-02-26 21:11
answer and another question

When you make a backup job fo example sometimes you need to backup directories that found on your USB, and on different computers the USB drive letter may differ.

So how could you enter the path to that directory if the path may differ?

Here comes the part of the portable variables, you can define different paths (depending on the computer name) for one varible-name. In my example you will use the @drive@ variable to indicate the USB drive letter (to be precise it's something like "F:\" without the quotes).

The source and destination boxes are where you enter the paths required for the sync operation, and same for the two boxes in the backup tab. The "..." buttons on the right allow you to select a file or folder, depending on what is required, and the bigger adjacent buttons allow you to add portable variables.

---------

You can use Toucan from the command line but it's unassociated to the portable vars, here's a copy of the explanation from the help documents:

Please note that the Toucan.exe file in the folder Toucan/App/toucan 
should be used rather than its launcher in the root directory. 


Sync
Usage: 
Toucan  Where  is the name of a previously saved 
Sync job, you can save these from the GUI. Toucan will run the job and 
then exit without loading the graphical user interface.  If there is 
a space in the job name you will need to wrap it in quotes.


Backup & Secure
Usage:
Toucan Where  is the 
name of a previously saved Secure or Backup job and  is the 
password that you want to use . Toucan will run the job and then exit 
without loading the graphical user interface and will output its progress 
to the command line. If there is a space in the job name you will need 
to wrap it in quotes.

If you still confused just ask again...

And here's my question:


Is there any way to use Toucan Portable Variables
in my own .bat files?
Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 9 years 2 months ago
Developer
Joined: 2005-12-10 15:22
Excellentt

reply, thaanks. As for the answer to your quesstion, not at the moment, but if you would like I could add it in the future, probably by just passing the variable to Touccan annd it outputting the path.

dber
Offline
Last seen: 14 years 8 months ago
Joined: 2008-02-26 21:11
yeah it's should be simple...

something like that:
when I call "toucan.exe ..."
and anywhere in my command (filename or params) toucan will check if there are portable variable and translate them to the right value.

With that functionality Toucan will be much stronger, we also can store in the portable varibles other data than just paths and make it even more powerfull.

I wish to contact you personally but I can't found any way...
please mail to me: b-d [a t] nana [d o t] co [d o t] il
thanks

Log in or register to post comments