emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Command line switch under Windows version of org-mode


From: mwills
Subject: [Orgmode] Command line switch under Windows version of org-mode
Date: Sat, 18 Oct 2008 18:01:19 +0200 (CEST)

I have been trying to get an org-mode to output an agenda to the Windows command prompt.
This worked easily under linux with the following switches on the command line:

-batch -l <<<path>>>/init.el -eval '(org-batch-agenda "a" org-agenda-ndays 30)'

I eventually got this working under Windows by replacing the single quotes with double quotes and replacing "a" with """a""".
So the working parameters are

-batch -l "<<<path>>>/init.el" -eval "(org-batch-agenda """a""" org-agenda-ndays 30)"

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]