Acessing filepath parameteres through DS script

Hi,

I was wondering if it is spossible get and/or change the default path through DS script? (I.e. the path that is set by right clicking in the files explorer and selecting 'Set as Default' )

Also is it possible to access the filepath of the molecule in
the last open 3Dwindow?


Regards
/Andreas