On Windows, you could use the script from the following thread:
http://groups.google.com/group/TiddlyWiki/t/d41ca93e1a756a84
However, this requires ActiveX, so it probably only works on IE.
I don't think there's a way for the browser to access system variables
on other OSs (which is a Good Thing, due to security concerns).
-- F.