15

I want to interact with the pipe manually , but so far I can only do this in the programe,which is not very intuitive.

The effect I want to achieve is a little similar to :

telnet localhost 3306

tail -f file.txt

Anyone get my idea?

5 Answers 5

5

From PowerShell

PS>$pipe = New-Object System.IO.Pipes.NamedPipeServerStream("DummyPipe", "InOut")

PS>Get-ChildItem -Path "\\.\pipe\" -Filter *DummyPipe*

More explanation: https://decoder.cloud/2019/03/06/windows-named-pipes-impersonation/

0
5

Look here: http://support.microsoft.com/kb/68941

There are two utilities shipped with SQL Server designed to help test network named pipes. The MakePipe.exe and ReadPipe.exe utilities are installed during installation of both the client and server components

2
  • The link to Microsoft Knowledgebase is dead.
    – Johannes
    Commented Sep 23, 2020 at 13:37
  • 1
    @Johannes Use the Wayback Machine.
    – EvgenKo423
    Commented Feb 9, 2021 at 18:02
1

There is a free command line utility to create and write/read from named pipes on Windows: https://github.com/psmay/windows-named-pipe-utils

0

cygwin may have named pipes you can use. See also How to open a Windows named pipe from Java?

0

no there is no command line interface for windows named pipes see http://en.wikipedia.org/wiki/Named_pipe for more info

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.