595076941@qq.com

一键设置WPS_Office_2019专业版的定时自动备份的批处理文件

 

  一键设置WPS_Office_2019专业版的定时自动备份的批处理文件

 

rem ================================================ 

rem 一键设置WPS_Office_2019专业版的定时自动备份的批处理文件 

  

rem 为何使用批处理而不使用AutoHotkey,批处理兼容性更高,AutoHotkey容易被杀毒软件误杀 

rem 新建WPS文字和WPS表格定时备份的目的文件夹 

md d:\WPSTimeBackup 

  

rem 设置WPS_Office_2019专业版的定时自动备份 

reg add "HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\Backup" /v "AutoRecoverFilePath" /t REG_SZ /d "d:\WPSTimeBackup" /f 

reg add "HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\Backup" /v "EnableBackup" /t REG_SZ /d "0" /f 

reg add "HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\Backup" /v "EnableTimeBackup" /t REG_SZ /d "1" /f 

reg add "HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\Backup" /v "TimeBackupInterval" /t REG_SZ /d "1" /f 

rem ================================================ 

 

下面是AutoHotkey版本的WPS定时自动备份设置脚本文件 

;~ rem 一键设置WPS_Office_2019专业版的定时自动备份的批处理文件 

  

;~ rem 新建WPS文字和WPS表格定时备份的目的文件夹 

FileCreateDir,d:\WPSTimeBackup 

  

;~ rem 设置WPS_Office_2019专业版的定时自动备份 

;~ RegWrite, ValueType, RootKey\SubKey [, ValueName, Value]  ; v1.1.21+ 

RegWrite,REG_SZ,HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\Backup,AutoRecoverFilePath,D:\WPSTimeBackup 

RegWrite,REG_SZ,HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\Backup,EnableBackup,0 

RegWrite,REG_SZ,HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\Backup,EnableTimeBackup,1 

RegWrite,REG_SZ,HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\Backup,TimeBackupInterval,1 

;~ rem ================================================ 

posted @ 2019-11-17 10:12  QQ595076941  阅读(489)  评论(0编辑  收藏  举报
595076941@qq.com