Should I run this command or the ipcpath must be changed for Windows.
geth --rinkeby --rpc --rpcapi="personal,eth,network,web3,net" --ipcpath "~/Library/Ethereum/geth.ipc"
And after that what path should I specify in geth attach command?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
--ipcpath has different meaning on UNIX (e.g. on MacOS) and on Windows. On UNIX it refers to local socket located somewhere in file system. For windows it refers to named pipes, and named pipes reside in their own namespace, not in the file system. Each named pipe has a name, but not path. So, on Windows you may either omit this parameter so geth will use default value
geth.ipc, or set something like this:
Then you will need to use something like
geth attach ipc:\\.\pipe\geth-rinkeby.ipc in order to attach to your node via this named pipe.