SecureCRT backs up all Buttons in the Button Bar

I. Introduction

The Button Bar function can save some commonly used commands to avoid repeated input, but sometimes the button bar of secureCRT often disappears inexplicably. After reinstalling the system or software, you also need to add Buttons one by one. If you can back it up, you can reduce these time-consuming operations.

2. Backup steps

  • In the panel Options–>Global Options–>General–>Configuration Paths, find the folder where the configuration file is located, such as C:\Users\maomao\AppData\Roaming\VanDyke\Config
  • Open the corresponding directory in the file explorer and check the ini configuration file with ButtonBar. The file name may be ButtonBarV3.ini, ButtonBarV4.ini, ButtonBarV5.ini, etc. It should depend on the version. If there are multiple uncertainties, open it. See if they are the ones you set up
  • Copy the corresponding file and save the backup

Insert image description here

3. Description

The number in the first line is the number of buttons, in hexadecimal. If all the buttons disappear like me and there are multiple ButtonBar files, you can first keep the ones with their own content, then delete them all, and reopen secureCRT to see what is generated. Which one will be added to the newly generated ini configuration file with its own original content (the number in the first line needs to be modified).

For example:

Z:"Default"=00000010
 SEND,ubus call router router_call_rst_factory\\r\\n,rst,,,0,1,
 SEND,ubus call project_config get_ap_cp_version\\r\\n,ap_cp_version,,,0,1,
 SEND,tail -f /tmp/log/voip.log
 SEND,ifconfig\\r\\n,ifconfig,,,0,1,
 SEND,uci show |grep qos\\r\\n,qos uci,,,0,1,
 SEND,ebtables -L --Lc\\r\\n,ebtables show,,,0,1,
 SEND,tc qdisc \\r\\n,tc qdisc,,,0,1,
 SEND,tc -s class ls dev ccinet0 \\r\\n,tc class ccinet0,,,0,1,
 SEND,tc -s class ls dev autolan \\r\\n,tc class autolan,,,0,1,
 SEND,tc -s filter ls dev ccinet0\\r\\n,tc filter ccinet0,,,0,1,
 SEND,tc -s filter  ls dev autolan \\r\\n,tc filter autolan,,,0,1,
 SEND,iptables -t mangle -nvL\\r\\n,iptables mangle,,,0,1,
 SEND,ubus call version set_atcmd_info '{"atcmd":"AT+CFUN=0"}'\\r\\n,CFUN0,,,0,1,
 SEND,ubus call version set_atcmd_info '{"atcmd":"AT+CFUN=0"}'\\r\\n,CFUN1,,,0,1,
 SEND,ifconfig eth1 down\\r\\n,eth1 down,,,0,1,
 SEND,ifconfig eth1 up\\r\\n,eth1 up,,,0,1,

Guess you like

Origin blog.csdn.net/qq_36369267/article/details/132412564