我用巧克力安装了 Cmder:https ://chocolatey.org/packages/Cmder
我想在我的上下文菜单中有一个快捷方式来打开当前目录中的 cmder。我关注了[官方维基]:
Run Code Online (Sandbox Code Playgroud)Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder] @="Open Cmder Here" "Icon"="\"%CMDER_ROOT%\\icons\\cmder.ico\",0" [HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder\command] @="\"%CMDER_ROOT%\\Cmder.exe\" /START \"%v\""
(https://github.com/cmderdev/cmder/wiki/Context-menu-integration)但即使启动 Cmder 的图标确实出现在上下文菜单中,但它会在消息框中抛出一个错误,说:
Windows 无法访问指定的设备、路径或文件。您可能没有访问该项目的适当权限。
Cmder 可执行文件的路径在: C:\tools\Cmder\Cmder.exe
环境变量似乎很好(已设置setx CMDER_ROOT "C:\tools\Cmder"):
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder]
@="Open Cmder Here"
"Icon"="\"%CMDER_ROOT%\\icons\\cmder.ico\",0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder\command]
@="\"%CMDER_ROOT%\\Cmder.exe\" /START \"%v\""
Run Code Online (Sandbox Code Playgroud)
我真的无法弄清楚这里出了什么问题,知道吗?
有史以来最愚蠢的问题:我如何用笔记本电脑键盘输入“正确的天花板”字符(http://www.fileformat.info/info/unicode/char/2309/index.htm)又名“?” ) 在带有 qwerty 笔记本电脑键盘的 Windows 登录密码框 ( http://www.fileformat.info/tip/microsoft/enter_unicode.htm ) 中?
“Alt +2309”没有给出任何一致的结果,我设法得到了印度字符、正方形,但从来没有我正在寻找的那个......(好吧,几秒钟前在谷歌浏览器地址栏中......?)
我使用以下命令在远程计算机上设置远程 PowerShell 访问:
Enable-PSRemoting -Force
Set-Item wsman:\localhost\Client\TrustedHosts -value '*' -Force
Get-Item wsman:\localhost\Client\TrustedHosts
WSManConfig: Microsoft.WSMan.Management\WSMan::localhost\Client
Type Name SourceOfValue Value
---- ---- ------------- -----
System.String TrustedHosts GPO *
Run Code Online (Sandbox Code Playgroud)
他们似乎工作得很好。
但是,当尝试打开 PowerShell 会话时,我收到以下错误:
New-PSSession -ComputerName 10.155.40.10
New-PSSession : [10.155.40.10] Connecting to remote server 10.155.40.10 failed with the following error message : The WinRM client cannot process the request. If the authentication scheme is different from Kerberos, or if the client computer is not joined to a domain, then HTTPS transport must be used …Run Code Online (Sandbox Code Playgroud) cmder ×1
command-line ×1
context-menu ×1
keyboard ×1
networking ×1
powershell ×1
unicode ×1
windows ×1