Tordex Community
Backup settings commandline - Printable Version

+- Tordex Community (http://forum.tordex.com)
+-- Forum: True Launch Bar (http://forum.tordex.com/forum-3.html)
+--- Forum: General Discussion (http://forum.tordex.com/forum-8.html)
+--- Thread: Backup settings commandline (/thread-23972.html)



Backup settings commandline - LEENO - 01-17-2022

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]


RE: Backup settings commandline - Yuri Kobets - 01-17-2022

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/installation/how-can-i-transfer-my-true-launch-bar-settings-to-a-new-computer.html


RE: Backup settings commandline - FBSO - 01-19-2022

(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.