Command line

This version has dropped the special command line utility from older versions. Now you can use the application  from the command line. The arguments are:

-nogui  Don't start the user interface

-autoclose Close the program when the backup is done

-bu Backup all the tasks immediately

-list:(ListName) start the program using the list on ListName. If the list name contains spaces, surround THE WHOLE argument between quotes.

-m Maximizes the user interface

 

Example: Cobian.exe "-list:C:\Program Files\List.lst" -bu -nogui

 

Parameters

In some places (Sources, Destinations, Events, E-mail) you can use parameters. The parameters that can be used are:

(case sensitive!!!!!)

%COMPUTERNAME  is replaced by the computer name

%COMPUTERNAMENONAME  is replaced by the computer name without spaces (the spaces are substituted by the code %20)

%DATENOTIME is replaced with the current date

%DATETIME is replaced with the current date and time

%TASKNAME is replaced with the current task name

%TIMENODATE  is replaced with the current time

%FNDATENOTIME - Same than %DATENOTIME but the result can be used as a filename (illegal characters are substituted by legal ones)

%FNTIMENODATE - Same than %TIMENODATE but the result can be used as a file name

%FNDATETIME - Same than %DATETIME but the result can be used as a file name

%APPLICATIONPATH - The path of Cobian Backup 9 without the last back slash

%DBPATH - The path of the folder containing your lists and backup history, without the last back slash

%SETTINGSPATH - The path of the folder containing your settings, without the last back slash

%USERNAME - The name of the user running the engine's working thread. If no impersonation is used, the reult will be the user running the service or the application.

 

Index

©2000-2008 by Luis Cobian
All rights reserved