user140: I'm on a Windows machine and would like to use cardano-cli to interact with the Cardano network. I have Daedalus running which is running an instance of cardano-node. In order for the CLI to find the node, I have to specify the CARDANO_NODE_SOCKET_PATH environment variable to point to the named Windows pipe (for example, \\.\pipe\cardano-node-mainnet.15992.0).
The problem is that every time Daedalus is closed and re-opened, it will use a different named pipe. Therefore, I need to update the CARDANO_NODE_SOCKET_PATH each time.
Is there a way to specify the Windows named pipe for Daedalus such that it would be static?

user6850: It's not possible to configure the pipe name used by Daedalus.
But you could use powershell to find it. Something like:
$Env:CARDANO_NODE_SOCKET_PATH = "\\.\pipe\cardano-node-mainnet.$( (Get-Process -Name daedalus).Id ).0"


140: <p>I'm on a Windows machine and would like to use <code>cardano-cli</code> to interact with the Cardano network. I have Daedalus running which is running an instance of <code>cardano-node</code>. In order for the CLI to find the node, I have to specify the <code>CARDANO_NODE_SOCKET_PATH</code> environment variable to point to the named Windows pipe (for example, <code>\\.\pipe\cardano-node-mainnet.15992.0</code>).</p>
<p>The problem is that every time Daedalus is closed and re-opened, it will use a different named pipe. Therefore, I need to update the <code>CARDANO_NODE_SOCKET_PATH</code> each time.</p>
<p>Is there a way to specify the Windows named pipe for Daedalus such that it would be static?</p>
 6850: <p>It's not possible to configure the pipe name used by Daedalus.</p>
<p>But you could use powershell to find it. Something like:</p>
<pre><code>$Env:CARDANO_NODE_SOCKET_PATH = &quot;\\.\pipe\cardano-node-mainnet.$( (Get-Process -Name daedalus).Id ).0&quot;
</code></pre>
