Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #93137

Re: windows and file names > 256 bytes

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'root': 0.04; 'paths': 0.05; 'filename': 0.07; 'rename': 0.07; 'subject:file': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'subsequent': 0.15; 'thu,': 0.15; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:windows': 0.16; 'basically': 0.18; "shouldn't": 0.18; 'url:home': 0.18; 'windows': 0.20; '2015': 0.23; "i've": 0.24; 'all.': 0.24; 'header:X -Complaints-To:1': 0.26; 'command': 0.28; 'path,': 0.29; 'function': 0.30; 'becomes': 0.31; 'source': 0.31; 'run': 0.32; 'problem': 0.33; 'combination': 0.33; 'file': 0.34; 'to:addr :python-list': 0.35; 'fail': 0.35; 'problem.': 0.35; 'too': 0.36; 'possible': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'level': 0.37; 'received:org': 0.38; 'names': 0.38; 'files': 0.38; 'mean': 0.38; 'to:addr:python.org': 0.39; 'some': 0.40; 'even': 0.61; 'more': 0.62; 'levels': 0.70; 'sounds': 0.72; 'special': 0.72; 'names..': 0.84; 'pain': 0.84; 'dennis': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: windows and file names > 256 bytes
Date Thu, 25 Jun 2015 08:41:09 -0400
Organization IISS Elusive Unicorn
References <mmgce2$cd4$1@ger.gmane.org> <mmgnbt$u0o$1@ger.gmane.org> <CAB1GNpS=7F3ebrHenUu7+MvyWuk5v60G6N6L81c0W3C-mQPi2w@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host adsl-108-79-222-44.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 6.00/32.1186
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.62.1435236090.3674.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1435236090 news.xs4all.nl 2830 [2001:888:2000:d::a6]:33109
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:93137

Show key headers only | View raw


On Thu, 25 Jun 2015 15:04:37 +0300, Joonas Liik <liik.joonas@gmail.com>
declaimed the following:

>It sounds to me more like it is possible to use long file names on windows
>but it is a pain and in python, on windows it is basically impossible.
>
>So shouldn't it be possible to maniulate these files with extended names..
>
>I mean even if you had to use some special function to ask for long names
>it would still be better than no support at all.

	A single long filename is not a problem... It is the combined
path/filename that becomes a problem. And It is not just a problem with
Python -- I've had Windows copy command fail when run recursively for the
same situation; either the source or destination path/name combination
becomes too long to handle.

	One can "cd" down a few levels of the path, and then rename a directory
up to the root level -- then all subsequent paths are shorter.
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: windows and file names > 256 bytes Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-06-25 08:41 -0400

csiph-web