delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/11/04/09:32:28

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 EB7A03858403
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=prover.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=prover.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=jUETDEbAdP8wRPHtKNwupjuPGORd/NtbgV8lZ43zsQf8PAWYh4VL1HP4UStG9gH9FkfrrfBJK6ZUbG1yfasKH9dCstUt33++FgLQ6cMrAzAr7KJcLXff4mTSwk6A0p5Jkjx1EgLZ/d5Ls2qRVu6yWUXbLkgPab6HeB4twIcnmaWYOMkt4l3ahP1g1E2LunNGdIgs7uZJrVksi0VPcxXWP4SC2/4n6u9Gb62GMdTH1C62bbJ/KBsZHzK3iZdwWnxPsKAOhHXeD1DwMLc6MtfgiZHY/+6/QJD0Ra72kJfFTSGdNK5CtZAfLggLZBj1+ojDptT4m9NO3vr5AA3JGvx3Qg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=wf+1pJTVfC/UtOBQdca06HhQJnOKHFXLoyQOJsfCL2k=;
b=CxJAHru/awiWwkjZBqCpYnUU2q2cDkEFbVWTpMfSGqYZlKt1mxEvoNOvJ50MbhA8L13HJwBuBTbrwcWN/QawwUIgNnFOAIKHVtLWuKSZNcy6567gc3sEeHHBEt2L1P0kh/Th6W1ziK/CI+PPPlZR9++nbkO7CMtR+6Zb+MViVyjj458vIE7JGylRyPDHfuciksRBDB/0gi0PKNvZFjzojA5LrqcCmGi5R4ykiEnJ915bixzT9dfs3fGquBGwn19YVzenSfivmFgrkpLkypO+BfaLB6/VOCtGMYMg+NeNaKz8YzBVS78HqWsUaY5OQzdM+deX8MVbEjkWARXvJImg0w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=prover.com; dmarc=pass action=none header.from=prover.com;
dkim=pass header.d=prover.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prover.com;
s=selector2;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=wf+1pJTVfC/UtOBQdca06HhQJnOKHFXLoyQOJsfCL2k=;
b=Rx4zi7tyUKVBIvgXlZjwLGO6qSPNIgaqpDi7JWvE6TP1ZgPDRfbnHIKiGqdlPL7kc3fr1KuNlYD0d0SJR8NYFWQmel7xEMeGXCASJSU09p4aLTCkx8vSjY7r4/bfM+8H5YVkyeCjxnM12MC929P+PU7X+j6UYrenngeosTF72f4zSnEfpD54gGrv3zyFcqpEifElg8CvX/uyUGGnUGzb05oEoKpprMrTYTuwvE498aIbs/DEQEGyztEei9ceAOPwCq3c0wLtKxn70oxeXVxCjOv3FbaRGvA71ivUVhvOL4LYaHGRzj/Ud0I7It/j61gB2aiNAbDqkIKKTLVdTcgTvg==
From: Fritjof Bornebusch <fritjof DOT bornebusch AT prover DOT com>
To: marco atzeri <marco DOT atzeri AT gmail DOT com>
Subject: RE: Accessing long filesystem paths using Python
Thread-Topic: Accessing long filesystem paths using Python
Thread-Index: AdjwRqR6Tnt9QIjpQbOIdav1/OGxvgAAHtzwAAFvOAAAATGhAA==
Date: Fri, 4 Nov 2022 13:30:57 +0000
Message-ID: <AM6PR08MB44210F777A836F5E5A5FF507E63B9@AM6PR08MB4421.eurprd08.prod.outlook.com>
References: <AM6PR08MB4421EE65314E815E8BA73753E63B9 AT AM6PR08MB4421 DOT eurprd08 DOT prod DOT outlook DOT com>
<AM6PR08MB4421530580BFE77F7508D890E63B9 AT AM6PR08MB4421 DOT eurprd08 DOT prod DOT outlook DOT com>
<CAB8Xom_kn8VZm29ot251=85fp5m-O8y0kn3jL3rHObmXbKGZRA AT mail DOT gmail DOT com>
In-Reply-To: <CAB8Xom_kn8VZm29ot251=85fp5m-O8y0kn3jL3rHObmXbKGZRA@mail.gmail.com>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed)
header.d=none;dmarc=none action=none header.from=prover.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AM6PR08MB4421:EE_|DB9PR08MB7583:EE_
x-ms-office365-filtering-correlation-id: 325f1b65-8480-406a-1287-08dabe68ce85
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: EBB9V0U740PWrwLbcGrDjLP0c04I3HtDia+4cJEGi9HE/Cou9vO6vnYHvYe3kARbc8CCl0L9/6K7043N5U42KQnlhehmwPZGZpOni6JNQqulBqNaIu347SpXdYw2MHRAsZk7OOQT9t0ptE2Uc1Htvj/WGFU0Y2oz3itKOFB2fVVS/GzPNWEfE6JG3+mXkpmvtx034uAvVeo0xmHmZORwkHEqWGCl/4H9GvmdqJF7MkkvVVD2HpxvrNJWzQo+Ct3PRXbvYW8Zg5PZDwpdVTph7UisBJI7lYgAM+AijwCD+kyy5obEVfJWxKe+w0qzExjdJE3qM2vS5+CPpRP7auJ205vEx6NLf4jAOWK1tdkttmCega6ZL2izOmPP/Knxtb/O7u2ggrX86njuN5mTjpLmBz75ERtFGTR/03peLRPM3FjtB/l9kK5+tzjc0qyG0BueMeucSJPH4P4JVwNqm0bCM4y1je6sXc04NN7zj4mRJbewjThak59/eZAvssWqMTjucUdIfPOgdRHpL0bO0JMtj8BchEz+o//6dMAWfZeaF6gvgD1mGSTU/9XyiuuhOwDMmLByGOOtn/W16A7dDsSO+iMPeI9nQRnJCTm3Hf6ModowVFIEKLQ0NmC21sTH75wZ7H+508J4PsHdaDBRF1tLsAXdMl2amMuYnrfcL71fOjkuXEgr4GoHS4FIvkGHMs6ETahyQ0QLBO4bLHgcPlTx0p6lDTe2hZJvwQk8PJ6sw9NoV2bUVikEQMBuwR9XewNhib74McCSYLX5eq5OzhgymQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:AM6PR08MB4421.eurprd08.prod.outlook.com; PTR:; CAT:NONE;
SFS:(13230022)(366004)(396003)(376002)(39830400003)(346002)(136003)(451199015)(478600001)(6916009)(26005)(7696005)(53546011)(6506007)(9686003)(33656002)(316002)(55016003)(122000001)(86362001)(2906002)(186003)(83380400001)(38100700002)(38070700005)(71200400001)(66556008)(66946007)(76116006)(4744005)(66476007)(5660300002)(64756008)(8676002)(44832011)(8936002)(4326008)(66446008)(41300700001)(52536014);
DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?NHdZclFDYXA4aTA4NVJKR3dIWEdSdVBvRUFVdStUZnVGMkkvREtTRnd1NnZF?=
=?utf-8?B?cDFhdWR1M2c2WmVjbUxjTjdPQ21GdDVYZHUwZXpUTU11ZmpEclN0YUNpVXBj?=
=?utf-8?B?Mk9vT1lLUWlMWlc0a0ZXSUlNR3dNR1FnRmFLc29HMWdGczFNZjBNUzJMU2pG?=
=?utf-8?B?cVl5VnJ6RHZTejZjL0FwLzZMaFp3Vm5MK0xWTTNEWlNzNDRPemEzMWEzektj?=
=?utf-8?B?dmNWL1U2OUFVcW51eVVGUzQvM3BIV0VrZGpHbmtnVi9NenBQVWxLSHI5VW5M?=
=?utf-8?B?REdwNzBIZ29EVjVJSlAxaGQ2alEzMzlDT0RVM0YwSk5vOWdwUkNhMWx1bGdY?=
=?utf-8?B?cnJDMDBUKzAza1Q5QjNHY3V2NVIwVC9TTkQ2ZHk3YjVrdUZwN2k0SlEvaUhj?=
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B?Wnc9PQ==?=
MIME-Version: 1.0
X-OriginatorOrg: prover.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM6PR08MB4421.eurprd08.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 325f1b65-8480-406a-1287-08dabe68ce85
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Nov 2022 13:30:57.6737 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 496a88d8-7c6f-423f-95bd-eee3dc9aacfc
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: FwiE3YaHsaN3bEcJB2zMZ+RbMnNanK7Kb7nccVUtz5+rtvv3r8TnlOMYjT0E2P9FvGBW1ABfUnsLhYZq0vgbDfZS1lOlrMd4nJ/Leo0nOvo=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB7583
X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, 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 <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Cc: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Jep,

No success.

-----Original Message-----
From: marco atzeri <marco DOT atzeri AT gmail DOT com> 
Sent: Friday, 4 November 2022 13:57
To: Fritjof Bornebusch <fritjof DOT bornebusch AT prover DOT com>
Cc: cygwin AT cygwin DOT com
Subject: Re: Accessing long filesystem paths using Python

On Fri, Nov 4, 2022 at 1:16 PM Fritjof Bornebusch <fritjof DOT bornebusch AT prover DOT com> 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\<file://%3f/C:/Users/foo/bar/>....
>
> However, it seems like this is not the case in Cygwin. When I use \\?\/home/foo/bar<file://%3f/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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019