ホームページ  >  記事  >  バックエンド開発  >  windows 如何设置在后台运行redis-server.exe?

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

WBOY
WBOYオリジナル
2016-06-06 20:41:571260ブラウズ

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

声明:
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。