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?

Alan
  • 5,029
  • 5
  • 32
  • 37

5 Answers5

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

Glenn Slayden
  • 17,543
  • 3
  • 114
  • 108
Dmitry
  • 1,513
  • 1
  • 15
  • 33
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/

mavijana
  • 111
  • 1
  • 6
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

Slider2k
  • 41
  • 4
0

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

meche
  • 9
  • 1
0

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

Community
  • 1
  • 1
rogerdpack
  • 62,887
  • 36
  • 269
  • 388