随笔分类 -  WinCmdBat

摘要:1、dir 2、dir /b 只显示文件名 3、dir *.png /b /s 指定后缀名,带路径的文件名,检查子目录 4、具体看:dir /? 5、 阅读全文
posted @ 2020-07-02 10:07 OsSkill 阅读(325) 评论(0) 推荐(0)
摘要:1、直接命令行中: 1.1、"title ???",就是这只 cmd窗口的标题 1.2、"color 3e",颜色设置成3e(应该是16进制) 1.3、"mode con cols=80 lines=30" 例子:start cmd /K "TITLE Ping Server 8.8.8.8服务器& 阅读全文
posted @ 2020-04-11 09:00 OsSkill 阅读(769) 评论(0) 推荐(0)
摘要:ZC:摘要:"net session"(判断是否管理员)、"whoami /?"(用户信息)、"net user %username%"(用户组等信息) 1、批处理中的****1>nul 2>nul是什么意思? 1>nul 意思是不显示命令运行的正确提示 2>nul 是不显示错误提示 一起就是 正确 阅读全文
posted @ 2020-04-10 22:44 OsSkill 阅读(1047) 评论(0) 推荐(0)
摘要:1、测试代码:(???.bat) ping baidu.com pau^ se 2、执行现象: 3、 4、 5 阅读全文
posted @ 2020-04-10 11:21 OsSkill 阅读(1508) 评论(0) 推荐(0)
摘要:1、 netstat -ano 查看端口占用情况 netstat -anp // 命令来查看一下,Linux系统是否在监听 3306 这个端口号 2、 阅读全文
posted @ 2016-02-20 17:30 OsSkill 阅读(190) 评论(0) 推荐(0)