Following query works fine for me
CALL apoc.export.csv.query("MATCH (a:Person)
RETURN a.name AS name", "result.csv", {})
but i want to export the result to a specific directory e.g in 'test' directory /neo4j-community-3.2.6/test/result.csv
Test directory exists in neo4j-community-3.2.6 folder, but the query
CALL apoc.export.csv.query("
MATCH (a:Person)
RETURN a.name AS name",
"/test/result.csv", {})
gives me following error:
Neo.ClientError.Procedure.ProcedureCallFailed Failed to invoke procedure
apoc.export.csv.query
: Caused by: java.io.FileNotFoundException: \test\result.csv (The system cannot find the path specified)
Can any one help?