> The objects returned from getFolder() will give you the path when used in
a
> string context (such as the arguments to the shortcut command).
> getFolder("Program") is probably what you want.
Thanks Im a little bit further today however Im having a problem with winreg
functions..
I am trying to return the desktop path using the getValueString for
'desktop'
Unforunately I get the error message winreg.getValueString is not a
function (-229)
PS winreg returns -106 . Is this correct ?
winreg=getWinRegistry();
logComment("winreg :" + winreg);
subkey = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell
Folders";
valname = "Desktop";
szFolderDesktop = winreg.getValueString(subkey, valname);