Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'skip:[ 20': 0.03; 'desired.': 0.07; 'subject:getting': 0.07; '"my': 0.09; 'cookies': 0.09; 'message-id:@4ax.com': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'skip:[ 30': 0.09; 'skip:[ 40': 0.09; 'tab': 0.09; '>on': 0.16; 'in...': 0.16; 'locations:': 0.16; 'noble': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'skip:[ 50': 0.16; 'skip:[ 60': 0.16; 'subject:windows': 0.16; 'tab,': 0.16; 'xxx"': 0.16; 'wrote:': 0.16; 'bytes': 0.18; 'exists': 0.18; 'url:home': 0.18; 'settings': 0.20; 'versions': 0.20; 'windows': 0.20; '2015': 0.20; 'sat,': 0.23; 'properties': 0.24; 'header:X-Complaints-To:1': 0.26; 'chris': 0.26; '----': 0.27; '+0200,': 0.27; 'transition': 0.27; 'actual': 0.28; "i'd": 0.31; 'software,': 0.32; 'language.': 0.32; 'older': 0.32; 'point': 0.33; 'open': 0.33; 'skip:- 10': 0.34; 'file': 0.34; 'skip:c 30': 0.35; 'displays': 0.35; 'downloads': 0.35; 'templates': 0.35; 'but': 0.36; 'there': 0.36; 'mode': 0.36; 'volume': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'sources': 0.37; 'files': 0.38; 'data': 0.39; 'application': 0.39; 'to:addr:python.org': 0.40; 'documents': 0.61; 'digital': 0.63; 'necessarily': 0.63; 'guaranteed': 0.67; 'foreign': 0.69; 'serial': 0.70; 'jul': 0.72; 'pictures': 0.75; 'music': 0.78; 'completion': 0.79; '11:07': 0.84; 'directory:': 0.84; 'ebooks': 0.84; 'editions': 0.84; 'dennis': 0.91; 'received:108': 0.93; 'movies': 0.96 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Trouble getting to windows My Documents directory Date: Sat, 11 Jul 2015 11:47:41 -0400 Organization: IISS Elusive Unicorn References: <20150710094607.66e62712@bigbox.christie.dr> <1436574244.1600780.320804625.4F9C0CE1@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: adsl-108-79-217-115.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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 129 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1436629661 news.xs4all.nl 2905 [2001:888:2000:d::a6]:45634 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93689 On Sat, 11 Jul 2015 09:28:26 +0200, Chris Warrick declaimed the following: >On 11 July 2015 at 02:24, wrote: >> The My Documents directory is not guaranteed to be named "Documents". On >> older versions of windows it was "My Documents", and on foreign versions >> of windows it is a name in their language. > >That’s not necessarily “older”. > >Windows XP/7/8: My Documents >Windows Vista/8.1: Documents > On Win7, it DISPLAYS as "My Documents", but it exists as "Documents" in the actual file system and on the command-line. (snipped for brevity) PS C:\Users\Wulfraed> ls Directory: C:\Users\Wulfraed Mode LastWriteTime Length Name ---- ------------- ------ ---- d-r-- 7/5/2015 10:40 PM Documents d-r-- 7/4/2015 11:07 AM Downloads d-r-- 3/12/2015 7:54 PM Music d-r-- 3/12/2015 7:54 PM Pictures d-r-- 3/12/2015 7:54 PM Videos PS C:\Users\Wulfraed> If I open that same directory using the Windows Explorer, I see a cluster of My Documents My Music My Pictures My Videos Opening properties for those makes available a "Location" tab, by which one can set the "My xxx" to /any/ directory desired. For easing transition of old software, there ARE hidden "junction points" in the file system that redirect to the new locations: C:\Users\Wulfraed\Documents>dir my* Volume in drive C is OS Volume Serial Number is 2004-C3FA Directory of C:\Users\Wulfraed\Documents 06/11/2015 08:18 AM My Barnes & Noble eBooks 06/09/2013 07:39 PM My Data Sources 06/09/2013 05:01 PM My Digital Editions 12/19/2013 09:19 PM My Downloads 06/05/2015 09:05 AM My eBooks 06/09/2013 07:44 PM My Garmin 06/09/2013 07:44 PM My Movies 06/09/2013 07:45 PM My Scanner Data Files 0 File(s) 0 bytes 8 Dir(s) 1,499,112,079,360 bytes free C:\Users\Wulfraed\Documents>dir /AL Volume in drive C is OS Volume Serial Number is 2004-C3FA Directory of C:\Users\Wulfraed\Documents 06/01/2013 03:45 PM My Music [C:\Users\Wulfraed\Music] 06/01/2013 03:45 PM My Pictures [C:\Users\Wulfraed\Pictures] 06/01/2013 03:45 PM My Videos [C:\Users\Wulfraed\Videos] 0 File(s) 0 bytes 3 Dir(s) 1,499,112,079,360 bytes free C:\Users\Wulfraed\Documents>cd .. C:\Users\Wulfraed>dir /AL Volume in drive C is OS Volume Serial Number is 2004-C3FA Directory of C:\Users\Wulfraed 06/01/2013 03:45 PM Application Data [C:\Users\Wulfraed\AppData\Roaming] 06/01/2013 03:45 PM Cookies [C:\Users\Wulfraed\AppData\Roaming\Microsoft\Wind ows\Cookies] 06/01/2013 03:45 PM Local Settings [C:\Users\Wulfraed\AppData\Local] 06/01/2013 03:45 PM My Documents [C:\Users\Wulfraed\Documents] 06/01/2013 03:45 PM NetHood [C:\Users\Wulfraed\AppData\Roaming\Microsoft\Windows\Network Shortcuts] 06/01/2013 03:45 PM PrintHood [C:\Users\Wulfraed\AppData\Roaming\Microsoft\Windows\Printer Shortcuts] 06/01/2013 03:45 PM Recent [C:\Users\Wulfraed\AppData\Roaming\Microsoft\Windows\Recent] 06/01/2013 03:45 PM SendTo [C:\Users\Wulfraed\AppData\Roaming\Microsoft\Windows\SendTo] 06/01/2013 03:45 PM Start Menu [C:\Users\Wulfraed\AppData\Roaming\Microsoft\Windows\Start Menu] 06/01/2013 03:45 PM Templates [C:\Users\Wulfraed\AppData\Roaming\Microsoft\Windows\Templates] 0 File(s) 0 bytes 10 Dir(s) 1,499,112,079,360 bytes free C:\Users\Wulfraed> C:\>dir "Users\Wulfraed\My Documents" Volume in drive C is OS Volume Serial Number is 2004-C3FA Directory of C:\Users\Wulfraed\My Documents File Not Found C:\> I'd like to point out that I did NOT type the My Documents; I type My and tab completion found the junction point name to fill in... -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/