I have my org mode agenda files (.org) on dropbox, and use them from different computers with different user-login-names. Hence, when listing mye agenda files I use the following command, where the user-login-name is a variable
(setq org-agenda-files '((format "c:/Users/%s/Dropbox/todo.org" user-login-name)) )
However, the commad does not work. When trying to extract my agenda, emacs does not find any of the org files, and therefor non of my todos.
Whats wrong with my command above?