I am Emacs and org-mode noob and using MS Windows 10. I would like to add a folder containing all org files to my org-agenda-files in my .emacs.

  1. Location of my .emacs file: c:/Users/Guest User/AppData/Roaming/
  2. Location of dropbox folder contaning all .org files: C:\Users\Guest User\Dropbox\workEMACS
  3. Location of Dropbox application: c:/Users/Guest User/AppData/Roaming/Dropbox

Specifically, I don't know what to add in the directory path (setq org-agenda-files '("~/WhatToAddHere"))


  • Well, you state that you are storing your files in the Dropbox folder and then you state that your org-agenda-files variable does not contain the path to the Dropbox folder ... :) Have you tried adding your Dropbox path to your org-agenda-files list? Have you typed M-x describe-variable RET org-agenda-files RET? Have you Googled and looked at various settings for the org-agenda-files variable? I would bet my lunch money that the first Google search for org-agenda-files dropbox windows would yield some examples .... Did you encounter any errors with something you tried?
    – lawlist
    Commented Mar 28, 2018 at 19:56

1 Answer 1


Just found that following works perfectly:

'(org-directory "C:/Users/Guest User/Dropbox/workEMACS")
'(org-agenda-files (list org-directory)))

Courtesy: How to add .org files under org-directory to agenda

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.