The following lines of code will show a message box with the Text "C:".
JamShellList.Path := 'C:Windows'; JamShellList.GoUp; ShowMessage(JamShellList.Path);