Home
Contents

One-click BackUp for WinRAR manual

Prev Page Next Page
 


OCB help index
Software License Agreement
Buy OCB or WinRAR license
What is One-click BackUp (OCB) for WinRAR and what is its purpose?
Freeware vs. Shareware versions. Registration.
How do I make first-time installation?
How do I get language files or translate OCB into my native language?
What files do I need to back up and how often?
What is a preset? Creating a new preset.
How do I set up a simple preset to test OCB?
General conceptions for everyday use
Using OCB main window
Settings - General tab
Settings - Interface tab
Settings - OCB-BIN tab
Settings - Remote Access tab
Settings - Dialup tab
Settings - Error management tab
Settings - Security tab
Settings - Appearance tab
Preset configuration - saving and loading default settings
Preset configuration - selecting an image for the preset
Preset configuration - General tab
Preset configuration - Actions tab
Preset configuration - File lists tab
Preset configuration - Notes / Comments tab
Duplicating a preset
Renaming a preset
Deleting a preset
Making a Windows shortcut to run a preset
Scheduling a preset
Creating a special preset (Windows Registry backup demo)
Configuring the scheduler
Using Shell Notifier
Advanced commands
Restoring backup files
Using command line parameters to control OCB
Using remote access via Internet or LAN to control OCB

Advanced commands

You can schedule certain events instead of presets. These events are called by special commands, starting with "/". The list of such events will be extended in the further versions.

/exit - this command forces OCB to halt.
/safeexit - OCB will exit only if there were no errors since the program was started.
/sendlog(h) - send the log file for previous h hours to the admin's e-mail.
/trunclog - truncate the log file.
/reboot -
reboot the computer.
/shutdown -
shutdown the computer.
/logoff -
log off from the system.
/hibernate -
enter hibernate mode.
/suspend -
enter suspend mode.
/execsync()
- execute a program in sync mode.
/execasync() - execute a program in async mode.

Other commands are described in other sections.

The last two commands allow you to schedule external program execution as well as any OCB preset. Example:
/execsync(c:\program files\myprog\myprog.exe)

If a program needs parameters, add them after the "|" symbol:
/execsync(c:\program files\parser\parser.exe|/silent /fast "c:\my documents\parsedata\data.txt")

Don't forget that when you use async mode, OCB waits until the application finishes its work and during this time other presets cannot be called. If you use sync mode, OCB is ready to work immediately after the execution of your application.

 

The list of all commands and availability.

Command \ Available
Scheduler
Command line
Remote access
/exit - this command forces OCB to halt.
+
+
+
/safeexit - exit only if no errors have occurred.
+
+
+
/trunclog - truncate the log file.
+
+
+
/sendlog(h) - send log for h hours to admin's email.
+
+
+
/reboot - reboot the computer.
+
+
+
/shutdown - shutdown the computer.
+
+
+
/logoff - log off from the system.
+
+
+
/hibernate - enter hibernate mode.
+
+
+
/suspend - enter suspend mode.
+
+
+
/unschedule(num) - unschedule presets.
+
+
+
/execsync(prog|prarms) - run a prog in sync mode.
+
+
+
/execasync(prog|prarms) - run a prog in async mode.
+
+
+
/forcereboot - reboot immediately.
-
-
+
/abort - abort current operation.
+
+
+
/hide - hide OCB to system tray on load.
-
+
-
/show - unhides OCB main window.
-
+
-
/showicon - recreates the icon in the system tray.
-
+
-
/schon - enable scheduler.
-
+
-
/schoff - disable scheduler.
-
+
-
/language(filename) - changes current language.
-
+
-

 

SEE ALSO:

Configuring the scheduler.
Using command line parameters to control OCB.
Index.