X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5EB063858413 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=UIXJn48RxjhLosDPmtG6XbXGDOTWMqJomNZ8+7fKMWs=; b=bEw/9T+LLpHMfMoKpAPBXrYL5JIfGpRPVvoTxBqtqqA5dtfXS1ui7sNIh+SeMd2gJM qurAtGLq0ev60LET7TfnAg0sU63xbe6vZbRkcCBjCutckfhLzHd4XR5sboKcnDjoMN4X Kmlk5LjVeXHk9Bfp35IbjAjB6OhfpWY/b5c4yBEZUL0LIko6J4bvhXC0Mz7upvSxcfap hLZOBxxSaCiPJT8XRQ/LjgIhAEM59fwc1g6VJb7TMIuwTGRSwd81ztZq4Hn42+4Ihkym iL9+mp89/hAq8kvVdg7vghYkQborHnkdGoYaSNWKkoaoRxhQ+RDFQYs0nOZ4h9n5yfgw A7xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UIXJn48RxjhLosDPmtG6XbXGDOTWMqJomNZ8+7fKMWs=; b=eELAAsV2qDjX6rrBUix4KFydrQnrXEOhS7HTUD//xsSs/6TV/6nKmNGFvq0wBVTsJm T+MKHDSIM/rgae4xQPyYE2dcpGkIDhE83j06ELH7qJQzrLJULkJE1Odq8qvzXKIplYdD EaYdv9jxW0opUFABjpYj3mXA56Ha6fdOnU8LILg5RCnbD9W1PXWLhaQbgwfmyOgiOkhO gYLzIpmuhdmhIJlBVbaDvIHGdCH/JUtrV42UEk2ZTji6w0buoBt6hPGaGg5hh8tVs4iX XL3KE0Sya2Zvyqrex7iR9q82dTLh5agAqxmoHvmKJXZPoa2ah723zZ7VPMbE0O8KBVDp dvbw== X-Gm-Message-State: ACrzQf1DiCUcKmm8/xn8OceWDxKlxatMhJxNdIBtbeCU1uoVwA80tLie DP7aLClmUF10w2ZtMzLF+tf/PCuROzQmuE0nLzswMXLQY6c= X-Google-Smtp-Source: AMsMyM5nDApLRRNSFDOL3UUaFeHK1j9XEaRy3m+2L3L8mXQYgzxMvRDOCjzv43VFE42Z9HAOlHfnQDFItZAO7Sn8RlI= X-Received: by 2002:a05:6870:3488:b0:12c:19b0:f4bc with SMTP id n8-20020a056870348800b0012c19b0f4bcmr30373451oah.238.1667566603612; Fri, 04 Nov 2022 05:56:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: marco atzeri Date: Fri, 4 Nov 2022 13:56:32 +0100 Message-ID: Subject: Re: Accessing long filesystem paths using Python To: Fritjof Bornebusch X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "cygwin AT cygwin DOT com" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" On Fri, Nov 4, 2022 at 1:16 PM Fritjof Bornebusch wrote: > > Hi, > > I need to write files whose path exceed the maximum value of 260 characters. > Using Windows paths, you can add \\?\ as prefix, e.g., \\?\C:\Users\foo\bar\.... > > However, it seems like this is not the case in Cygwin. When I use \\?\/home/foo/bar, I get no file pointer back. > > Does someone have a clue how I can bypass this? > > Best, > Fritjof > Have you tried POSIX style ? /cygdrive/C/Users/foo/bar.. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple