随笔分类 -  windows

摘要:对E盘进行修复 cmd命令行,执行: chkdsk E: /f 阅读全文
posted @ 2021-03-11 18:26 lishidefengchen 编辑
摘要:假如我们需要确定谁占用了我们的80端口 在windows命令行窗口下执行: C:\>netstat -aon|findstr "80" TCP 127.0.0.1:80 0.0.0.0:0 LISTENING 2448 看到了吗,端口被进程号为2448的进程占用,继续执行下面命令: C:\>task 阅读全文
posted @ 2021-02-24 10:26 lishidefengchen 编辑
摘要:https://jingyan.baidu.com/article/a65957f431860724e67f9bf7.html 阅读全文
posted @ 2020-09-18 17:53 lishidefengchen 编辑
摘要:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer Create a DWORD 32-bit value named HubMode Set the HubMode value data to 1 【注意】 先 阅读全文
posted @ 2020-07-16 17:55 lishidefengchen 编辑
摘要:判断是否成功,失败了直接退出,后续命令不再执行 @echo off git pull if %errorlevel%==0 (dotnet publish -c Release) else (goto :eof) :: 后续命令... %errorlevel%==0 上一条指令执行成功 %error 阅读全文
posted @ 2020-07-15 08:42 lishidefengchen 编辑
摘要:因为百分号 % 在bat文件中是具有转义功能的,所以,如果你的密码中有%,那么它将被转义,需要你输入两个%%,这样才会正确的输入一个%,别的类同。 【例如】 其实我要执行的是 pscp -pw wGj6oL8Q%12345 /root/plm 但因为%转义的原因,一不注意,就会导致无法正常执行了。 阅读全文
posted @ 2020-07-15 08:21 lishidefengchen 编辑
摘要:修改文件后缀txt 以ANSI编码另存为 重新修改后缀为bat 执行即可 阅读全文
posted @ 2020-07-14 21:56 lishidefengchen 编辑
摘要:驱动什么的都正常,平白无故麦克风不好用了,原来是之前自己设置了麦克风权限: 把这个开关打开就可以了。 (完) 阅读全文
posted @ 2019-12-19 10:50 lishidefengchen 编辑
摘要:type nul> 123.txt 阅读全文
posted @ 2019-09-02 10:33 lishidefengchen 编辑
摘要:官网工具:https://github.com/Microsoft/VisualStudioUninstaller/releases 亲自测试过,很好用。 (完) 阅读全文
posted @ 2019-08-30 16:36 lishidefengchen 编辑
摘要:https://www.pstips.net/getting-computer-serial-number.html $ComputerName = $env:COMPUTERNAME $serial = (Get-WmiObject -ComputerName $ComputerName -Cla 阅读全文
posted @ 2019-08-20 17:25 lishidefengchen 编辑
摘要:http://www.feeddemon.com/ Windows,Free (完) 阅读全文
posted @ 2019-05-22 18:35 lishidefengchen 编辑
摘要:双Tab,用于补全 Ctrl+T,建立新页 Ctrl+W,关闭标签页 Ctrl+Tab,切换标签页 Alt+F4,关闭所有标签页 Ctrl+1,切换到第一个页签,Ctrl+2同理 Alt + enter,切换到全屏状态 阅读全文
posted @ 2019-03-28 17:34 lishidefengchen 编辑
摘要:private string GetMD5Hash(string str) { string md5Str = ""; byte[] buffer = Encoding.UTF8.GetBytes(str); MD5CryptoServiceProvider md5 = new MD5Crypt... 阅读全文
posted @ 2017-03-22 17:01 lishidefengchen 编辑
摘要:using System.DirectoryServices; using System.DirectoryServices.AccountManagement; using (DirectoryEntry adsEntry = new DirectoryEntry("LDAP://test.com", userName, password, AuthenticationTypes.Sec... 阅读全文
posted @ 2016-08-05 14:24 lishidefengchen 编辑
摘要:转载:http://www.crifan.com/fixed_problem_sometime_httpwebrequest_getresponse_timeout/ 【问题】 用C#模拟网页登陆,其中去请求几个页面,会发起对应的http的请求request,其中keepAlive设置为true,提 阅读全文
posted @ 2016-08-04 16:25 lishidefengchen 编辑
摘要:参考文章:http://download.csdn.net/detail/davidiao/7424767 http://www.cnblogs.com/mq0036/p/3554002.html .asmx?wsdl 注意:?wsdl 一定要加上,否则会报错。 阅读全文
posted @ 2016-07-05 10:58 lishidefengchen 编辑
摘要:Win7:%ProgramData%\TechSmith\Camtasia Studio 8\RegInfo.iniWinXP:”%AllUsersProfile%\Application Data\TechSmith\Camtasia Studio 8\RegInfo.ini”把“RegInfo. 阅读全文
posted @ 2016-03-11 09:49 lishidefengchen 编辑
摘要:SnippingTool(注:不区分大小写) 阅读全文
posted @ 2016-01-28 14:15 lishidefengchen 编辑

点击右上角即可分享
微信分享提示