![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Windows
matchbox1234
这个作者很懒,什么都没留下…
展开
-
windows下使用命令行添加防火墙规则
dir=in 表示添加入站规则netsh advfirewall firewall add rule name="Remote PortNumber" dir=in action=allow protocol=TCP localport=1234dir=out 表示添加出站规则netsh advfirewall firewall add rule name="Remote PortNumber" dir=out action=allow protocol=TCP localport=1234.原创 2020-12-23 10:31:59 · 2478 阅读 · 0 评论 -
查看windows操作系统的默认编码(字符集)-chcp
在windows cmd 模式下,输入命令 : chcp如上图,我的活动代码页为936,意思是"中国-简体中文(GB2312)"说明:代码页是“字符集编码”的别名,也有人称为“内码表”。下表列出了所有支持的代码页及其国家(地区)或者语言:代码页 国家(地区)或语言437 美国708 阿拉伯文(ASMO 708)720 阿拉伯文(DOS)850 多语言(拉丁文 I)852 中欧(DOS)原创 2020-08-22 15:59:56 · 12589 阅读 · 1 评论 -
type显示文件内容
Linux下有好几个命令都可以用来查看文本文件,比如cat,less,more等,而在Windows下,有一个type命令,可以用来干同样的事情。例如:C:\Users\Administrator\Desktop>type “2020-8-17 15-23 Complete Workspace.xml”注意:文件名有空格需要加双引号...原创 2020-08-22 15:46:50 · 469 阅读 · 0 评论