Hooks中的useState
647 2023-04-03 04:00:11
我是用了修改系统时间的方式
不过我嫌手动修改麻烦,就用了脚本的方式来修改
xshell.bat
##################################begin####################@echo off%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c%~s0::","","runas",1)(window.close)title Xshell启动器set atime=%date:~0,4%-%date:~5,2%-%date:~8,2%#设置系统时间date 2018-12-31 #改成你的xshell启动路径start "" "D:\Program Files (x86)\NetSarang\Xshell 7\Xshell.exe" echo 启动软件中...ping 0.0.0.0 -n 10> nullecho 同步时间中,完成后自动关闭窗口... date %atime%exit
xftp.bat
##################################begin####################@echo off%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c%~s0::","","runas",1)(window.close)title Xftp启动器set atime=%date:~0,4%-%date:~5,2%-%date:~8,2% #设置系统时间date 2018-12-31 #改成你的xftp启动路径start "" "D:\Program Files (x86)\NetSarang\Xftp 7\Xftp.exe" echo 启动软件中...ping 0.0.0.0 -n 10> nullecho 同步时间中,完成后自动关闭窗口... date %atime%exit
转自:https://www.csdn.net/tags/OtDaUgxsNTM5MzktYmxvZwO0O0OO0O0O.html