Statt:
(Environ("tmp")
Machste:

Environment.GetFolderPath(Environment.SpecialFolde r.System)