From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/21456 Path: news.gmane.org!.POSTED!not-for-mail From: Philip Hodder Newsgroups: gmane.text.pandoc Subject: Re: Can pandoc convert using UNC paths on Windows? Date: Thu, 8 Nov 2018 01:07:08 -0800 (PST) Message-ID: <758175cf-cf3e-4b80-ab21-68594fd9a644@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_120_1028879155.1541668028743" X-Trace: blaine.gmane.org 1541667906 19977 195.159.176.226 (8 Nov 2018 09:05:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Nov 2018 09:05:06 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCSZD66HWMDRBPPZR7PQKGQEICOFPOY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Nov 08 10:05:02 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f57.google.com ([209.85.210.57]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKgFI-00051k-63 for gtp-pandoc-discuss@m.gmane.org; Thu, 08 Nov 2018 10:05:00 +0100 Original-Received: by mail-ot1-f57.google.com with SMTP id w96sf12317486ota.10 for ; Thu, 08 Nov 2018 01:07:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=AOqcu7m9FPO998/AbDFTTXyIdL0fawSsy2LuZaDxah0=; b=qozRy6OivqMAo+eebUsNYuFUzWTTGE0cHJLTfbK1zj1UyAKtXqthsKNQ1Sk0ad0zlu FMNoGAYTyL58NaADewOIM5jPldSaXD3iduKIHzbnk36nl7ByA443W1sZgAwKWZtLUBen rQGN0kh9HoyduhsrA7e7obeiF/6UzYxY48QqOyv4ekd1SYtdGv9ELnUy7Ff/eHNEKnKt 1SLUy2jUuJHvgrj30TvvNIE0ZtJx19D/aEVRlkfq1IWQZWi8MRbdO4NqN+ogtI//Qs0O 9sK0vPoZFNp9sBmJDRCh+yZ9RBXWPc1eadLV3kWxIulD07txbaFufgO9Y8AX1AIbIZvJ CT8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=AOqcu7m9FPO998/AbDFTTXyIdL0fawSsy2LuZaDxah0=; b=a7oSDJCbVqJxQ8svgVXbmQG+8BQn1aKwvyywl/D3AJu+z/yWZo0sxue9YET3CuUe/O oV+cjJA3Xmv5z3Ej9DTg5ngB+W0g6MUUv4o5sHY2tp5oZw9ZvHFyxSsZsrhUful/UPbO QSPny6FgLNZ5+ono3T9w/8+MunKqzEzj1JRpbhOymycGpO27ZxIU1sScqeQW9w25K69d Axp3pSg2cI7tT6ueKbVrbN08IMpHEco0IKAAn6zWtSDRBROXj7Hijon14xsL3Fn+3KpD L7l8tUXDkMmopTvambXL2kSCDR+aYCUu4NxD5j7mH8/ABt2abL6igglfA5YV/aHTN/VA fBCg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AGRZ1gJ1KcKuUAWksukllCjF9Wd9xfwERkklrI1P5SOzZl3Xt56+Ts72 enxGsbsL5icD5UdW8jcAEBw= X-Google-Smtp-Source: AJdET5fq+jX9TnB5bSvx07jATwlJj7T367wnNv8PHZxgOG0yausrygMXsihEHgdIrL9l2LEy6MPW+g== X-Received: by 2002:a9d:5ad:: with SMTP id 42mr67otd.0.1541668030541; Thu, 08 Nov 2018 01:07:10 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:ecc:: with SMTP id 70ls536878otj.1.gmail; Thu, 08 Nov 2018 01:07:09 -0800 (PST) X-Received: by 2002:a9d:5e97:: with SMTP id f23mr58405otl.4.1541668029295; Thu, 08 Nov 2018 01:07:09 -0800 (PST) In-Reply-To: X-Original-Sender: phil-jvooPmwWovGx7wk7FZxnQA@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:21456 Archived-At: ------=_Part_120_1028879155.1541668028743 Content-Type: multipart/alternative; boundary="----=_Part_121_1488441314.1541668028743" ------=_Part_121_1488441314.1541668028743 Content-Type: text/plain; charset="UTF-8" I don't know how Haskell processes file paths but have you tried escaping the slashes? E.g. pandoc "\\\\network\path\to\file.md" or even using Unix like path separators: pandoc "\\\\network/path/to/file.md" Phil On Wednesday, November 7, 2018 at 9:34:53 PM UTC, Peter Tirrell wrote: > > I'm trying to run pandoc, on Windows, against a file on a network share. > I'm calling the executable within a Powershell prompt, but the same > behavior happens in CMD. I have tried calling > > pandoc "\\network\path\to\file.md" > > and changing to the UNC folder in Powershell and calling > > pandoc .\file.md > > and get the same error message: "openBinaryFile: does not exist (no such > file or directory". > > My hunch is that pandoc doesn't support UNC paths, but I haven't been able > to find a quick explicit answer as to whether this should work or not. If > it isn't supported I'll give up and move on, but if it is - what might I be > doing wrong? > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/758175cf-cf3e-4b80-ab21-68594fd9a644%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_121_1488441314.1541668028743 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I don't know how Haskell processes file paths but have= you tried escaping the slashes? E.g.

pandoc "\\\\n= etwork\path\to\file.md"

or even using Unix li= ke path separators:

pandoc "\\\\network/path/= to/file.md"

Phil

On Wednesday, Novembe= r 7, 2018 at 9:34:53 PM UTC, Peter Tirrell wrote:
I'm trying to run pandoc, on W= indows, against a file on a network share.=C2=A0 I'm calling the execut= able within a Powershell prompt, but the same behavior happens in CMD.=C2= =A0 I have tried calling

pandoc "\\netwo= rk\path\to\file.md"

and changing to the UNC f= older in Powershell and calling

pandoc .\file.md

and get the same error message: "openBinaryFil= e: does not exist (no such file or directory".=C2=A0
My hunch is that pandoc doesn't support UNC paths, but I h= aven't been able to find a quick explicit answer as to whether this sho= uld work or not.=C2=A0 If it isn't supported I'll give up and move = on, but if it is - what might I be doing wrong?=C2=A0

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/758175cf-cf3e-4b80-ab21-68594fd9a644%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_121_1488441314.1541668028743-- ------=_Part_120_1028879155.1541668028743--