2019年5月29日

WINDOWS服务操作

摘要: 添加、删除服务用sc命令 启动、停止用net start/stop 阅读全文

posted @ 2019-05-29 11:53 liucuiqiang 阅读(183) 评论(0) 推荐(0) 编辑

bat文件自动以管理员身份运行

摘要: 把这段写在bat文件的前头即可 %1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit cd /d "%~dp0 阅读全文

posted @ 2019-05-29 11:51 liucuiqiang 阅读(9389) 评论(0) 推荐(1) 编辑

windows环境下安装ElasticSearch

摘要: 1.先下载,https://www.elastic.co/cn/downloads/elasticsearch 2.解压到c:/elasticsearch-7.1.1下 3.修改数据库存储路径,打开C:\elasticsearch-7.1.1\config下的elasticsearch.yml, 修 阅读全文

posted @ 2019-05-29 10:50 liucuiqiang 阅读(411) 评论(0) 推荐(0) 编辑

导航