随笔分类 - CMD
摘要:Add or Remove Allowed Apps through Windows Firewall in Windows 10 Starting with Windows 10 build 16193, Windows Firewall has been renamed to Windows D
阅读全文
摘要:How do I exit telnet? you have to press Ctrl + ] and only then when telnet> prompt appears enter quit. https://superuser.com/questions/486496/how-do-i
阅读全文
摘要:ls -d ~//c/Users/clu// ls -d ~/*
阅读全文
摘要:taskkill /IM "LISA.Batch.RulesProcessor.exe" /F C:\WINDOWS\system32>taskkill /IM "ssh-agent.exe" /FSUCCESS: The process "ssh-agent.exe" with PID 33092
阅读全文
摘要:https://www.cnblogs.com/mamiyiya777/p/11017875.html C:\WINDOWS\system32>net use \\WASYGSHA01-1020\ukshare "password" /user:"asnet\clu"The command comp
阅读全文
摘要:https://stackoverflow.com/questions/672693/windows-batch-file-starting-directory-when-run-as-admin Better than cd is pushd which will change drive let
阅读全文
摘要:https://stackoverflow.com/questions/34491244/environment-variable-is-too-large-on-windows-10 方案1 When PATH variable gets overloaded with too many valu
阅读全文
摘要:查看所有环境变量 set 查看某一个环境变量 C:\WINDOWS\system32>set no_proxyNO_PROXY=localhost,127.0.0.1,172.31.212.149 设置环境变量的值 As mentioned in other threads you can use
阅读全文
摘要:https://stackoverflow.com/questions/2252979/windows-batch-call-more-than-one-command-in-a-for-loop Using & is fine for short commands, but that single
阅读全文
摘要:https://blogs.msdn.microsoft.com/twistylittlepassagesallalike/2011/04/23/everyone-quotes-command-line-arguments-the-wrong-way/ Conclusion In general,
阅读全文
摘要:http://www.robvanderwoude.com/parameters.php Windows NT 4 introduced a set of new features for command line parameters:
阅读全文
摘要:https://github.com/chucklu/Scripts RecursiveGitFetch.bat RecursiveGitFetch.bat
阅读全文
摘要:判断子目录是否有.git文件夹 分别统计当前目录下的每一个子目录所包含的文件夹个数
阅读全文
摘要:Build https://docs.microsoft.com/en-us/visualstudio/ide/reference/build-devenv-exe Builds a solution using a specified solution configuration file. Re
阅读全文
摘要:C:\Windows\system32>net user clu /domainThe request will be processed at a domain controller for domain asnet.accorservices.net. User name cluFull Nam
阅读全文
摘要:http://www.cnblogs.com/caolisong/archive/2007/04/25/726896.html nohup /mnt/Nand3/H2000G >/dev/null 2>&1 & 对于& 1 更准确的说应该是文件描述符 1,而1 一般代表的就是STDOUT_FILEN
阅读全文
摘要:1.安装 https://stackoverflow.com/questions/8164859/install-a-windows-service-using-a-windows-command-prompt https://docs.microsoft.com/en-us/dotnet/fram
阅读全文
摘要:https://technet.microsoft.com/en-us/library/cc940085.aspx Nslookup is a useful tool for troubleshooting DNS problems, such as host name resolution. Wh
阅读全文
摘要:http://stackoverflow.com/questions/48198/how-can-you-find-out-which-process-is-listening-on-a-port-on-windows 1.通过资源监视器进行查看 2.通过TCP View进行查看 3.通过命令行查看
阅读全文
摘要:1.首先通过cmd进入 C:\Windows\System32\inetsrv>netshnetsh>http netsh http> 退出的时候,使用exit命令 2.显示监听的ip show IpListen IP addresses present in the IP listen list:
阅读全文