【发布时间】:2011-04-09 20:40:07
【问题描述】:
我想手动与管道交互,但目前只能在程序中进行,不太直观。
我想要达到的效果有点类似:
telnet localhost 3306
tail -f file.txt
有人明白我的想法吗?
【问题讨论】:
标签: windows named-pipes
我想手动与管道交互,但目前只能在程序中进行,不太直观。
我想要达到的效果有点类似:
telnet localhost 3306
tail -f file.txt
有人明白我的想法吗?
【问题讨论】:
标签: windows named-pipes
看这里:http://support.microsoft.com/kb/68941
SQL Server 附带了两个实用程序,旨在帮助测试 网络命名管道。 MakePipe.exe 和 ReadPipe.exe 实用程序是 在安装客户端和服务器组件时安装
【讨论】:
来自 PowerShell
PS>$pipe = New-Object System.IO.Pipes.NamedPipeServerStream("DummyPipe", "InOut")
PS>Get-ChildItem -Path "\\.\pipe\" -Filter *DummyPipe*
更多解释: https://decoder.cloud/2019/03/06/windows-named-pipes-impersonation/
【讨论】:
没有 Windows 命名管道的命令行界面见 http://en.wikipedia.org/wiki/Named_pipe了解更多信息
【讨论】:
cygwin 可能有你可以使用的命名管道。另见How to open a Windows named pipe from Java?
【讨论】:
有一个免费的命令行实用程序可以在 Windows 上创建和写入/读取命名管道:https://github.com/psmay/windows-named-pipe-utils
【讨论】: