PlatformIO library instructions raise errors

Can someone tell me definitively how to have one folder with all my libraries in it?
Someone gave me this:
'lib_extra_dirs = ${sysenv.HOMEDRIVE}${sysenv.HOMEPATH}\Documents\libraries ', and it appeared to kinda work, but libraries in that directory are still ignored by PlatformIO.

From: Redirecting...,

“core_dir = /path/to/custom/pio-core/storage”

I wrote this, based on what someone gave me:
core_dir = ${sysenv.HOMEDRIVE}${sysenv.HOMEPATH}\Documents\libraries

That was flagged as an error, but I don’t know what I’m typing…