Command Line

AllSync can be called via various parameters and thus be integrated in other programs, processes and workflows.
Tip: You can access most commands and options with mouse-click ease via the Shortcut Manager.

Syntax

AllSync.exe -command -option "profile" "profile_folder" ....

Note: the commands and options are case-sensitive, meaning a distinction is made between uppercase and lowercase letters when making entries.

Command-Line Parameters

-k "profile"

AllSync is started and a copy operation performed for all the profiles specified.

-r "profile"

AllSync is started and a copy preview created for all the profiles specified.

-ra "profile"

AllSync is started and a copy preview created for all the profiles specified. This is followed by the copy preview being automatically processed.

-h "profile"

Starts a copy operation using the profiles specified, this being done in the background without AllSync's GUI. Only the progress indicator is displayed during the copy operation. AllSync automatically shuts down afterwards.

-Q[1-5] folder1 folder2

This command enables you to pass two folders to QuickSync and a copy preview to be generated. The -Q command has to include a number from 1 to 5 for a copy mode:
  1. 1:1 copy
  2. Update
  3. User-defined
  4. Sync
  5. Populate
  6. Backup

-S

Starts AllSync Scheduler.

-ST

Starts AllSync Service Tool.

-l:"licensee","license key"

This command enables the license key to be inputted without having a dialog popped up.

-LIC

This command enables the dialog for license data to be popped up again.

-ServiceUninstall

Use this command to uninstall AllSync Scheduler.

-InstallService

Use this command to install AllSync Scheduler.

Options

-s

This causes a confirmation dialog to be popped up before the copy operation for the -h, -x or -xe parameter.

-e

This causes a confirmation dialog to be popped up after the copy operation for the -h, -x or -xe parameter.

-np

This causes profile chaining to be deactivated.

-a

This causes AllSync Scheduler (-S) to be automatically activated upon starting AllSync.

-m

This causes AllSync to be started in a minimized window.

-X[0-7]

This enables you to specify which action is to be performed for commands -k, -ra and -h when a copy operation has completed:
  1. Shut down computer
  2. Shut down Windows
  3. Restart Windows
  4. Log off user
  5. Standby
  6. Hibernate
  7. Exit AllSync
  8. Lock computer

-XE[0-7]

This option causes the same thing to be performed as -X, however the selected action is performed only if no errors occurred during the copy operation.

-rh

This option causes all connected storage devices used via a source and destination folder to be safely removed after a copy operation. This option causes the general profile property Safely remove hardware after copy operation to be automatically deactivated.

-ServiceLogon[0-1]

Logon account for the -InstallService command.
0 = Local system account
1 = User account

-ServiceStart[0-2]

Startup mode for the -InstallService command.
0 = Automatic
1 = Manual
2 = Deactivated

-ServiceUser="{user account}"

Name of the user account for the -ServiceLogon1 option.

-ServicePW="{password}"

Password of the user account for the -ServiceLogon1 option.

Profiles

You should bear the following in mind when specifying profiles:
  • The profiles have to be located in AllSync's Profiles folder.
  • The profile name has to be given in double quotes.
  • The file extension of a profile (.pas) doesn't have to be specified.
  • You don't need to specify the path of AllSync's Profiles folder.

Example using a profile named 'Favorites':

  • "Favorites.pas"
  • "Favorites"
  • "Private\Favorites"
  • "C:\AllSync\Profile\Private\Favorites.pas"

Profile Folders

You should bear the following in mind when specifying profile folders:
  • The profile folder has to be located in AllSync's profile folder.
  • The profile folder name has to be given in double quotes.
  • You don't need to specify the path of AllSync's Profiles folder.
  • The profile folder has to be specified using a backslash (\) or backslash and asterisk (\*). A backslash causes all the profiles in this folder to be read. A backslash with an asterisk additionally causes all the profiles in all subfolders to be read.

Example using a folder named 'Work':

  • "Work\"
  • "Backup\*"
  • "Backup\Work\"
  • "C:\AllSync\Profiles\Backup\Work\"

Examples

  • AllSync.exe -S

    Starts AllSync Scheduler.

  • AllSync.exe -S -a

    Starts AllSync Scheduler and automatically activates it.

  • AllSync.exe -k "Demo" "Backup" "Favorites"

    Starts a copy operation using the profiles 'Demo', 'Backup' and 'Favorites'.

  • AllSync.exe -k "C:\AllSync\Profiles\Work\*"

    Starts a copy operation using all the profiles located in the Work folder and its subfolders.

  • AllSync.exe -r "Backup" "\Internet\Favorites"

    Generates a copy preview using the profiles 'Backup' and 'Favorites'.

  • AllSync.exe -r "BackupPro\"

    Generates a copy preview using all the profiles of the BackupPro folder.

  • AllSync.exe -h "Demo"

    Starts a copy operation using the profile 'Demo' in the background without the AllSync GUI.

  • AllSync.exe -h -s "Backup" "Favorites"

    Starts a copy operation using the profiles 'Backup' and 'Favorites' and displays a confirmation window before the copy operation.

  • AllSync.exe -h -s -e "Demo"

    Starts a copy operation using the profile 'Demo' and displays a confirmation window after the copy operation.

  • AllSync.exe -Q4 "C:\Data" "D:\Data"

    Generates a copy preview between the two folders using the Sync copy mode.

  • AllSync.exe -l:"Licensee","License key"

    AllSync is enabled using this license key.

  • AllSync.exe -InstallService

    Installs AllSync Scheduler as a service using the local system account and automatic startup mode.

  • AllSync.exe -InstallService -ServiceLogon1 -ServiceStart0 -ServiceUser="Admin" -ServicePW="TopSecret"

    Installs AllSync Scheduler as a service using a user account and automatic startup mode.

The award-winning utility for drive usage utility - analyze occupied disk space - analyze folders and drives - check directory size - manage disk space - determine the size of folders and sub-folders - view directory size - view total drive size - drive space analysis tool - view total directory size - hard disk space analyzer - get directory size - determine total folder and file sizes - analyze folder size - hard disk space monitoring - check folder size - check drive size - determine total directory size - drive space reporting - get folder size - determine folder size - manage drive usage - analyze total directory size - analyze folder or drive space - total size analyzer - disk space analyzer - show total directory size - hard disk usage analysis tool - check total folder size - view total folder size - show total hard disk size - determine hard disk size - view total hard disk size - visualize hard disk usage - drive space usage utility - hard disk space reporting - analyze drive usage - determine drive usage - check total folder and file sizes - show total folder size - folder size reporting - total folder size analyzer - view hard disk size - show drive size - directory size reporting - determine directory size - analyze total folder size - drive space management - drive space analyzer - hard disk space management - manage disk usage - determine hard disk usage - analyze total drive size - show directory size - determine total drive size - view total folder and file sizes - drive usage analysis tool - check total hard disk size - analyze hard disk size - check total drive size - check drive usage - determine total folder size - check hard disk size - view folder size - show total drive size - manage drive space - view hard disk usage - hard disk space usage utility - check total directory size - visualize drive usage - view drive usage - analyze total folder and file sizes - analyze total hard disk size - show hard disk size - disk usage analyzer - view drive size - show drive usage...
© 2000-2010 Michael  Thummerer  Software  Design