From mboxrd@z Thu Jan 1 00:00:00 1970 From: Srinivas Subject: Babel & sh & Windows Date: Tue, 7 Dec 2010 22:08:58 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=43061 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQ5io-0007HX-4n for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 17:09:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQ5in-0004G3-9B for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 17:09:17 -0500 Received: from lo.gmane.org ([80.91.229.12]:37962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQ5in-0004Fq-2b for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 17:09:17 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PQ5il-0005Ka-1R for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 23:09:15 +0100 Received: from 192.212.253.129 ([192.212.253.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Dec 2010 23:09:15 +0100 Received: from sp_us by 192.212.253.129 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Dec 2010 23:09:15 +0100 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 Hi I am trying to learn how to use Babel on a Windows system and need some help. I would like to produce the directory tree for a given directory (/bin in this example). I tried the following: #+srcname: directory-tree #+BEGIN_SRC sh :dir /bin :results output org replace :exports results tree #+END_SRC The output is as given below: #+results: directory-tree c:\bin>More? My org-babel-sh-command setting is: (setq org-babel-sh-command "cmd /k") What do I need to do see some output in the #+results section? Thanks in advance for you help. - Srinivas