From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jack Kamm Subject: Re: Powershell scripting with org-babel Date: Mon, 10 Feb 2020 17:59:52 -0800 Message-ID: <87eev1khnr.fsf@gmail.com> References: <1247841977.1214337.1581352684665@ichabod.co-bxl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58631) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1KqC-00081s-Rg for emacs-orgmode@gnu.org; Mon, 10 Feb 2020 20:59:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1KqB-0002Rg-PM for emacs-orgmode@gnu.org; Mon, 10 Feb 2020 20:59:56 -0500 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:36757) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j1KqB-0002QB-Jb for emacs-orgmode@gnu.org; Mon, 10 Feb 2020 20:59:55 -0500 Received: by mail-pj1-x1035.google.com with SMTP id gv17so555198pjb.1 for ; Mon, 10 Feb 2020 17:59:55 -0800 (PST) In-Reply-To: <1247841977.1214337.1581352684665@ichabod.co-bxl> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: MS Window , emacs-orgmode@gnu.org Hi Klaus, MS Window writes: > There is no explanation there I should put the configuration. The org-babel documentation is too brief for me as beginner to understand. First, save that file somewhere. Then, in your emacs config, add the directory containing ob-powershell.el to the `load-path' variable using the function `add-to-list' [0]. Then, load ob-powershell using `require'. Finally, add powershell to `org-babel-load-languages' [1]. Then you should be able to execute powershell babel blocks. Hope that helps, Jack [0] https://www.emacswiki.org/emacs/LoadPath [1] https://orgmode.org/worg/org-contrib/babel/languages.html#configure