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 6D1DF385841A 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=Xw6wXDAoQQl5eiDiEXseM5uRM101mbjaiVfuT5CsU9/FCSN7TLxQSI2p2L+u8H02QuFiYZIXksIfptM9ZaczCOuHYSuzYzU26sVfNTH6Jr0C4AWtjXiFb3rBIB8weqG2W1tjYmWN3YbT3OzmoiLwPGQi1bxvERpukQ5uaWgCmp8if86O7xAWmUYoEJ5SHqPeYkAG1G5Ex2mXpozb7IFfQ6KrQCeCpgZNfCUQr/Sx8PqQmyPk6ti1JztghGu6yXhk+7kXrIk1eFlEs3m58CG/MWEAdeT3wnR+nU6InRle6rq0X9DpY6iM1sDZhAtqBdOkoytglhfFltMoWxWjsSuobA== 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=zpbc6cFZOq8VHPxkcXkILJzJmlbNq2WsGgecJZtwnvE=; b=Cbptk6+ShOkv4/JeE/ILHOOkgAAsLU0zFG82SL0HrKKpk8ia2V4BZfPyPo4yoD+eaWIadCYD4VD7kRbRh/nShV8rbhY1CpGuFnxciHt163CvXxdqnwFfCk3STXXniazAaatlepRDCI/Pjr/wDTgcejjkXo7f6Fufpuq3VEIUNWc7UfmFgv0zXpjCGE5fB8tzUUxJ5naJT0mBDnMpawjOwm0lB3diUk4vTi7NFUL+vGNKpUxjlKBaDSD7OaeS4I9wK1MLHLEXSq0z6bMDiVm5qxkSgpziTFFrpMV2cyrLY4Iog+p4eQa05/JIlxxXRBPG5cqy7D5CHAiUiKSySGhVYg== 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=zpbc6cFZOq8VHPxkcXkILJzJmlbNq2WsGgecJZtwnvE=; b=FVNhNuHyMI1ZuC6E0XfqdhHwvwXmcIlBAh1nPAYt4M/YadYYIv5Qm8EvwtfW9Zx3qNUS27qlUH6H55ncQSqNbmrib2VrNdWgOc/YNBmQqr5dAdV8iIaUKUm75F57f2plPA4CjgP5Z4/IQoQxrPXlsnzWerkjQnk9NRSoPuafZT0tzdor6jWQVexX8DWwdMpDTB/YW1Mc9oX078LDyY3Ecl0FBPU0p/JJJsCjvaqmeKcMVm+Y08Pupj6mYmHRjbeamEgA6X17r7GSBYPsTvBu2WRLB+1XmvGe8Ci4IbquT+BeXH4m3lUrlqEqvAtblCRw6M6FozZPBpd4P4SqUQ2ghg== From: Fritjof Bornebusch To: "cygwin AT cygwin DOT com" Subject: Accessing long filesystem paths using Python Thread-Topic: Accessing long filesystem paths using Python Thread-Index: AdjwRqR6Tnt9QIjpQbOIdav1/OGxvgAAHtzw Date: Fri, 4 Nov 2022 12:15:45 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-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_|AS8PR08MB8086:EE_ x-ms-office365-filtering-correlation-id: 874923f0-4b99-4ea6-19ea-08dabe5e4d13 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1EL9e5/iV2+XQgo+H+mevqaSk+N5gNZeoe5WmHK0y4+T2S2GRp4IpejB5mOqM/5jU0TBWsAE7C6+tZz8LO35AX1iu6ofIrfSa26sbBH0BH70ZjWcUqng6sU4fps+1hXjK6qMxdMO1IYfRS109jzeb5i6SEyisM2PEu+x+aZNBXqMCQN5jQCqpo3rp1kZy4VQeSvClmvOuiHsRdtAVa7gDpJOhRFVAQ4cgAuR/bResaDF8WMz6ZM0UcMVlWHKs1cLn18OZBOk90kEp2LXUtSgHCfymrZMHy4BZiA8sW+f0khKEutNZUyVmjHIYrz1KfmFT2rS5Fd0MHEYedPB7ZXgNM3Wriw5+6k1K3Hw8NVgdb6WVhr8O9grsUj301rFF9RVI7SsTB/ZQwWPdMP0u7dldWLi+Q19eugTMwTyKjIgFl/MZnLDtZzeO4BukBEwyZ/WsQ5wSIz8rxYAUJIFgeA0Dj89ELHHrgJAcyNkKAcNSOCoAOSJbvw7kKoerkK06z2+ahWxq2tUDCvHLb8DNnqmJRAynpN93z9CnwZvBCB/rxbD1zmesxXKQ49/0B+BmjSxu72pb8zWae25jfHYaSWX8zjF9nrYFShAWRe16Sz7UM1amZmWzrdbe9Dpqw22ULGAzbb6viV1bGCvP9AmpTeRwvWHNqyi6raw+RU2iL7U77XN3ohviIhWoy6zLQ+qqQs0Kp9aHN7jcI5nbeyqsVP27OXhOmvMaBdQ2RUB8MYfVlSy/Ytq5JmVDSanq5dI2rAnbrGWZVo1Km0ZBkqK0+w49A== 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)(136003)(39830400003)(366004)(346002)(376002)(396003)(451199015)(4744005)(41300700001)(2940100002)(8936002)(52536014)(9686003)(26005)(44832011)(5660300002)(186003)(83380400001)(64756008)(71200400001)(8676002)(66946007)(55016003)(66446008)(66556008)(2906002)(478600001)(66476007)(76116006)(7696005)(6506007)(38100700002)(122000001)(33656002)(6916009)(316002)(38070700005)(86362001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?YVFBQkozQnVFZ09VeS9SV0ptSlExaXkyZnJXSVFhZXRGZDVlcFZMSWs3Nnd4?= =?utf-8?B?blMyaUhKOFFpVzcvczh0aHZLNURPMzFwRHFVaXZaRC9LYUpJRk9nQThON1k3?= =?utf-8?B?Q0ZDNE1TeTFZOEJrY01tekh6b3JZWWEwMFB0a1hHVVdQdGppakhHRHBOODVv?= =?utf-8?B?WkdmRGpES29JZVRmWHYwYkkxQkh1Y2hRUHJkbk9hWlNJU0xIZDhUYU82bWM2?= =?utf-8?B?TXF2MlpZNndHQUxXWE1FZUFiYW1kSGl5QWVPMDhwa2pwQjRYdUNPUEhxRTYv?= =?utf-8?B?QXpjQVNvNXA3Y3dzaFlxc3Fqem5CWldMUFhtZjhqTFluYmphdGN4bU5rNWRH?= =?utf-8?B?cTkwNkJLNXV6WlZiWmZoWkoyOVBsbGxBbHAwMk0xWmJQeVlGcUR2RjFSNjNX?= =?utf-8?B?TENiRkhNeXgwTUI2ck9ybVRyUGgyMm5NakdLVC9jUGJ0OEozMndkMmtEUTgx?= =?utf-8?B?cE5XQ256cjA4TGJERHUwSmY3T3pydXZBRjhLUXQ4dmIrMlpvRkRXaGtZWWpi?= =?utf-8?B?dkJwOEZyZGJNUU4vM1picjJrWVhmT0lDclZhckdqUzJQQ1ZmVjQ3eisydDJ5?= =?utf-8?B?dlJmcHhodVU1Sms0TFVlRU5DYllNZFhIQ3BZWDZJeWRrYkRtOHJlNm5lNlJy?= =?utf-8?B?b1FUUzdpTWpsZEJqeW1KN2xZNS9vaWYzQTQyZXh6ZG4xbjByb3IxZGlWK05B?= =?utf-8?B?d0JZQWIxNWttSjRrWnZXQmNGN2VJTWtkZWNWVnFseFRWODJRNTNoRGRUY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RURSS0hJZDYwOWtyNzZEaUQ5?= =?utf-8?B?N3J4Mml5SVBJREZVNHI5UEdrU0oxVFFQcCt5OG9vVDJqUVZWbWsyK01sTml3?= =?utf-8?B?Y3JtWGppb0lLUjAzc2hRTXhSODF5UzVqb3BpM2dCZTlrdmZVUlAxZ3YxbWdU?= =?utf-8?B?Qm55NCtQampIRTc3S0RRQkpMc1lhck9ZeklMMTVXTTMzOGUyNzhZRWpsK3E2?= =?utf-8?B?YTdUZzU3YlR0SzlqM1pKRW9FdXh1NDYzMFFMcjc5UFZMN29DY1VETjErVUVi?= =?utf-8?B?UFhvMlNoK2o1SThMdzlUTjEzQ3c2OXZCcCtlV1c0blZHbDlXaXRZR20rNmEx?= =?utf-8?B?OWM4MzhxVzh0VVRYKzByMVh0QmpIbVFzdXBudjR2MVlNUXZEV3BRb3F2ckVr?= =?utf-8?B?cVJ1NTR4Tlp2Si9CdFdhNU5lOU9sblpWaHRZak1KZTN5ejdBRFVsdndxWm9I?= =?utf-8?B?cWpwb1BLK09nekVacUZQV1prU21UT0dwYTc1MW5yeWZ3dzg3V2ZHV2MrTE9j?= =?utf-8?B?OUE9PQ==?= 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: 874923f0-4b99-4ea6-19ea-08dabe5e4d13 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Nov 2022 12:15:45.5490 (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: BJYiHI9vqjlBLcqjGMVb1k5K9M0WtmvCNWuAtgIDve1cA0B5puMel13YRhIUSeuRRZa3Zj5vsR9rTY2VFliP71UTD3ySgZSXUnc1eZ/ehJM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB8086 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, 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-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" 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 -- 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