It works fine for me on Win7 pro/64.
Here is the definition of the environment variable.
Here is the environment variable shown with the others.
Here is the environment variable shown in a DOS box.
When I start calibre it opens the library pointed at by the environment variable.