Home  >  Article  >  Backend Development  >  windows 如何设置在后台运行redis-server.exe?

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

WBOY
WBOYOriginal
2016-06-06 20:41:571260browse

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放在同一个目录下运行

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn