Tordex Community

Full Version: Backup settings commandline
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hallo
i run script (for backup some app settings) at system shutdown so if system crash, i will restore last settings

is possible to backup truelaunch settings with commandline silently (no questions/confirm)?

[Image: TqSfzoD.jpg]
TLB stores all setting, shortcuts, menus and plugins inside folders. So you need to backup these files with any way you backup your documents or important files. You can find the list of folders you should backup here: http://www.truelaunchbar.com/faq/install...puter.html
(01-17-2022, 02:23 AM)LEENO Wrote: [ -> ]Hallo
i run script (for backup some app settings) at system shutdown so if system crash, i will restore last settings

is possible to backup truelaunch settings with commandline silently (no questions/confirm)?

[Image: TqSfzoD.jpg]



I use a batch script to backup my TLB settings
If you want, here is a sample batch script you can modify and use

Code:
@echo off
mkdir "E:\TLB BACKUP FOLDER"
robocopy "%AppData%\Microsoft\Internet Explorer\Quick Launch" "E:\TLB BACKUP FOLDER\Quick Launch" /mir
robocopy "%AppData%\Tordex\True Launch Bar" "E:\TLB BACKUP FOLDER\True Launch Bar" /mir
pause

Copy the above code to a text editor like notepad and save it to something like "Backup TLB Quick Launch Settings.bat"

NOTE:
Save the file extension is BAT or CMD



What the commands do:

Code:
mkdir "E:\TLB BACKUP FOLDER"

Creates a backup folder named "TLB BACKUP FOLDER" in drive/partition "E:"

NOTE:
Modify the location of your TLB backup folder




Code:
robocopy "%AppData%\Microsoft\Internet Explorer\Quick Launch" "E:\TLB BACKUP FOLDER\Quick Launch" /mir
robocopy "%AppData%\Tordex\True Launch Bar" "E:\TLB BACKUP FOLDER\True Launch Bar" /mir

Makes a mirror copy of " C:\Users\<user name>\AppData\Roaming\Tordex\True Launch Bar" folder and "C:\Users\<user name>\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch" folder in theĀ "TLB BACKUP FOLDER" that was just created.

NOTE:
This operation (robocoppy /mir) makes a copy of all of the files and folders in the source directory to the destination directory and deletes all files and folders in the destination directory that are not present in the source directory.