I have tested Kicad 4.0.0 RC2 x64 on Windows 7 professional 64 and this issue don´t occurred. Using "Append with Wizard" in PCB Table Library, in library path the environment variable KISISMOD stays in parethesis "(KISISMOD)" rather than in brace {KISISMOD}. In ft-lib-table file (in ...\AppData\Roaming), i noted that path stays also in quotations marks, and have two backslashs after KISISMOD rather than one.
Example:
I used the "Append with Wizard" to include Diodes_ThroughHole, below.
I have tested Kicad 4.0.0 RC2 x64 on Windows 7 professional 64 and this issue don´t occurred. Using "Append with Wizard" in PCB Table Library, in library path the environment variable KISISMOD stays in parethesis "(KISISMOD)" rather than in brace {KISISMOD}. In ft-lib-table file (in ...\AppData\ Roaming) , i noted that path stays also in quotations marks, and have two backslashs after KISISMOD rather than one.
Example:
I used the "Append with Wizard" to include Diodes_ThroughHole, below.
(lib (name Capacitor5x11RM 2.5)(type KiCad)(uri ${KISYSMOD} \Capacitors_ ThroughHole. pretty) (options "")(descr ""))
(lib (name Diodes_ ThroughHole) (type Legacy)(uri "$(KISYSMOD) \\Diodes_ ThroughHole. mod")(options "")(descr ""))