From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Command line switch under Windows version of org-mode Date: Sun, 19 Oct 2008 20:29:29 +0200 Message-ID: References: <13630581.581281224345679679.JavaMail.www@wwinf3712> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Krd2f-0003aK-KP for emacs-orgmode@gnu.org; Sun, 19 Oct 2008 14:30:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Krd2e-0003ZS-73 for emacs-orgmode@gnu.org; Sun, 19 Oct 2008 14:30:17 -0400 Received: from [199.232.76.173] (port=58229 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Krd2d-0003ZE-Su for emacs-orgmode@gnu.org; Sun, 19 Oct 2008 14:30:15 -0400 Received: from nf-out-0910.google.com ([64.233.182.189]:19467) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Krd2d-0001o8-2w for emacs-orgmode@gnu.org; Sun, 19 Oct 2008 14:30:15 -0400 Received: by nf-out-0910.google.com with SMTP id c7so655766nfi.26 for ; Sun, 19 Oct 2008 11:30:03 -0700 (PDT) In-Reply-To: <13630581.581281224345679679.JavaMail.www@wwinf3712> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: mwills@fsmail.net Cc: emacs-orgmode@gnu.org Hi, this is useful information, would you like to formulate a FAQ entry about this and send it to me so that we can have this information available in a prominent place? - Carsten On Oct 18, 2008, at 6:01 PM, mwills@fsmail.net wrote: > 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 <<>>/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 "<<>>/init.el" -eval "(org-batch-agenda """a""" org- > agenda-ndays 30)" > > > _______________________________________________ > 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