From mboxrd@z Thu Jan 1 00:00:00 1970 From: mwills@fsmail.net Subject: Command line switch under Windows version of org-mode Date: Sat, 18 Oct 2008 18:01:19 +0200 (CEST) Message-ID: <13630581.581281224345679679.JavaMail.www@wwinf3712> Reply-To: mwills@fsmail.net Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0677756658==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KrEF3-0003WI-Cv for emacs-orgmode@gnu.org; Sat, 18 Oct 2008 12:01:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KrEF2-0003Vg-Lv for emacs-orgmode@gnu.org; Sat, 18 Oct 2008 12:01:25 -0400 Received: from [199.232.76.173] (port=40127 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KrEF0-0003VY-TN for emacs-orgmode@gnu.org; Sat, 18 Oct 2008 12:01:23 -0400 Received: from smtp5.freeserve.com ([193.252.22.151]:53945 helo=smtp6.freeserve.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KrEF0-0006id-Jt for emacs-orgmode@gnu.org; Sat, 18 Oct 2008 12:01:22 -0400 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3532.me.freeserve.com (SMTP Server) with ESMTP id BA5E71C00084 for ; Sat, 18 Oct 2008 18:01:19 +0200 (CEST) Received: from wwinf3712 (wwinf3712 [10.232.27.55]) by mwinf3532.me.freeserve.com (SMTP Server) with ESMTP id B66681C00083 for ; Sat, 18 Oct 2008 18:01:19 +0200 (CEST) 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: emacs-orgmode@gnu.org --===============0677756658== Content-Type: multipart/alternative; boundary="----=_Part_36760_10857537.1224345679622" ------=_Part_36760_10857537.1224345679622 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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)" ------=_Part_36760_10857537.1224345679622 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

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

 

------=_Part_36760_10857537.1224345679622-- --===============0677756658== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0677756658==--