当前位置:首页 > 操作系统 > Windows

windows如何设置在后台运行redis-server.exe?

windows如何设置在后台运行redis-server.exe? - 文章图片

这样一直需要开着cmd有点麻烦!

回复内容:

windows如何设置在后台运行redis-server.exe? - 文章图片

这样一直需要开着cmd有点麻烦!

sc create Reids-Server binpath= "%curPath%redis-server.exe" displayname= "Redis-Server" start= auto
放到bat文件中和reids-server.exe放在同一个目录下运行


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐