emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: mwills@fsmail.net
To: emacs-orgmode@gnu.org
Subject: Command line switch under Windows version of org-mode
Date: Sat, 18 Oct 2008 18:01:19 +0200 (CEST)	[thread overview]
Message-ID: <13630581.581281224345679679.JavaMail.www@wwinf3712> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 490 bytes --]

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)"

[-- Attachment #1.2: Type: text/html, Size: 574 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

             reply	other threads:[~2008-10-18 16:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-18 16:01 mwills [this message]
2008-10-19 18:29 ` Command line switch under Windows version of org-mode Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=13630581.581281224345679679.JavaMail.www@wwinf3712 \
    --to=mwills@fsmail.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).