Create the file(s) with your cypher. I used PowerShell to show this. The |
before the .\bin\cypher... is the pipe character
PS C:\neo4j-enterprise-3.5.9> notepad my.cql
PS C:\neo4j-enterprise-3.5.9> cat my.cql
match (n) return count(n);
PS C:\neo4j-enterprise-3.5.9> cat my.cql | .\bin\cypher-shell.bat -u neo4j -p secret
count(n)
171