![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
INST
同一片云彩
这个作者很懒,什么都没留下…
展开
-
Docker
1.Windows安装docker:https://docs.docker.com/docker-for-windows/install/?spm=5176.12586973.0.0.228d6d40xtqpSH2.配置3.运行命令:acd “C:\Program Files\Docker\Docker”DockerCli.exe -SwitchDaemonbcPS C:\WINDOWS\system32> Enable-WindowsOptionalFeature -原创 2021-06-07 14:09:24 · 75 阅读 · 0 评论 -
A certificate chain processed, but terminated in a root certificate which is not trusted...
安装.net framework 4.8在Win7系统时,出现l以上证书错误。解决:1.找一台装有.net framework 4.8的机器,利用PowerShell命令(Win10能执行,Win7不能):导出证书(到Desktop\ROOT\下):Get-ChildItem -Path Cert:\LocalMachine\Root\ |ForEach-Object {Export-Certificate -Cert −FilePath(_ -FilePath (−FilePath(env:U原创 2021-03-18 16:01:54 · 1520 阅读 · 0 评论 -
Write方法写入中文时出现错误“VBScript runtime error: Invalid procedure call or argument”
修正:Dim fso, fSet fso =CreateObject(“Scripting.FileSystemObject”)Set f =fso.OpenTextFile(“C:\Users\Administrator\Desktop\1.txt”, 2, True,-1) //-1 以 Unicode 格式打开文件。//不存在时允许创建新文件为 True //2 ForWrittingf.Write “哈哈”f.Close...原创 2021-03-10 11:44:38 · 435 阅读 · 0 评论 -
卸载patch
法1.control panel/view install updates/找到patch,右键uninstall法2.a. win+r/regedit:b.找到computer/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/Current Version/Installer/User Data/S-1-5-18/products/c. 按Ctrl+f后 输入产品名,install property/uninstall/1表示可卸载d. 执行法1原创 2021-02-07 16:23:24 · 533 阅读 · 0 评论 -
PowerShell语句
function Say-Hello ([string] $name) {Write-Output “Hello, $name”$a = Get-WmiObject -Query (“select * from win32_networkconnection where LocalName=‘ZHANGKAI1’”)Write-Output $a}Say-Hello “123”原创 2021-03-05 17:20:46 · 106 阅读 · 0 评论 -
bat文件语句学习
set a=1echo %a%@echo off //不显示执行的命令pause>nul//pause 会显示 按任意键退出pause>nul 就是将显示的内容重定向到nul 就是不显示按任意键退出set b=111echo %b%pauseset b=111echo %b%pause@echo offset path = C:\Windows\Microsoft.NET\Framework64\v4.0.30319;%path%RegAsm /codebase原创 2021-03-05 16:53:33 · 164 阅读 · 0 评论 -
注册表有关
1.HKEY_CLASSES_ROOT/CLSID/a pair of curly braces ——>HKEY_LOCAL_MACHINE/SOFTWARE/Classes/原创 2021-03-04 17:55:43 · 118 阅读 · 1 评论 -
msiexec.exe用于执行msi的安装操作
msiexecProvides the means to install, modify, and perform operations on Windows Installer from the command line.Examples:To install package C:\example.msi, using a normal installation process and no UI, type:msiexec.exe /i “C:\example.msi” /qnReferenc原创 2021-03-04 17:47:15 · 1327 阅读 · 1 评论 -
VBScript里msgbox出现中文乱码的解决办法
法2. notepad++打开vbscript文件,如test.vbs, 选择编码方式为Encode in UCS-2 Little Endian(UTF-16LE)即可。法1. notepad打开vbscript文件,如test.vbs, 选择另存为,选择编码方式为Unicode后保存即可。原创 2021-03-02 12:08:12 · 3701 阅读 · 1 评论 -
文件(.dll)写入注册表
dll文件注册:regsvr32.exeregasm.exe(.NET)原创 2021-02-08 18:03:18 · 1382 阅读 · 0 评论 -
VBS常用函数
Replace(expression, find, replace with, compare, count, start)在…,找…,用…替换, 二进制0, 替换数目, 开始搜索位置原创 2021-02-08 17:14:09 · 727 阅读 · 0 评论 -
局域网不能访问共享路径问题解决
1.打开网络和文件共享中心\高级共享设置\开启网络发现(为第二步映射使用)2. 网络,右键映射网络;根据示例输入要访问的共享路径,选择以另外的凭证登录即可原创 2021-01-05 11:44:09 · 1917 阅读 · 0 评论 -
从 regtlibv12.exe 到 Microsoft Visual Studio 2005
1. regtlibv12.exeTo register a .tlb file, please refer to the following code:To register MyComStuff.tlb do this:RegTlibV12 MyComStuff.tlbTo unregister MyComStuff.tlb do this:RegTlib -u MyComStuff.tlbThe regtlibv12.exe is an executable file on your原创 2021-01-04 12:29:27 · 562 阅读 · 0 评论 -
远程桌面登陆问题No Remote Desktop client access licenses available
连接时出现问题:The Remote session was disconnected because there are no Remote Desktop client access licenses available for this computer. Please contact the server administrator。解决:打开注册表: win+r,输入regedit删除下面的文件:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Co原创 2020-10-30 15:10:35 · 1008 阅读 · 0 评论