frp开机启动
- 开机自启动,启动文件夹下新建
frpc.vbs
文件: - 打开启动文件夹:
WIN+R
打开运行窗口中输入:%programdata%\Microsoft\Windows\Start Menu\Programs\Startup
frpc.vbs
文件内容:
set ws=WScript.CreateObject("WScript.Shell")
ws.Run "#frp绝对路径#\frpc.exe -c #frp绝对路径#\frpc.ini",0
Set ws = CreateObject("Wscript.Shell")
ws.run "cmd /c c:\1.bat",0
或者
CreateObject("WScript.Shell").Run "cmd /c c:\1.bat",0