Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #103209
| Path | csiph.com!news.mixmin.net!newsreader4.netcologne.de!news.netcologne.de!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | eryk sun <eryksun@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: extending PATH on Windows? |
| Date | Fri, 19 Feb 2016 12:04:29 -0600 |
| Lines | 52 |
| Message-ID | <mailman.55.1455905118.2289.python-list@python.org> (permalink) |
| References | <n9umo3$9lg$1@news2.informatik.uni-stuttgart.de> <mailman.160.1455625190.22075.python-list@python.org> <n9v58k$dcl$1@news2.informatik.uni-stuttgart.de> <mailman.168.1455630261.22075.python-list@python.org> <na2bqn$7d7$1@news2.informatik.uni-stuttgart.de> <mailman.227.1455756824.22075.python-list@python.org> <na4r70$skl$1@news2.informatik.uni-stuttgart.de> <mailman.32.1455850652.2289.python-list@python.org> <eh3dcb55vautec6gtrum8bka9lv762o5v4@4ax.com> <na6rjc$dlr$1@news2.informatik.uni-stuttgart.de> <CAPTjJmrn1BPYi3R1c_jbbL6Pmp0aUWLJNxbNdfsMr8eFdcWkNA@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| X-Trace | news.uni-berlin.de jL0BQeTkzty0YX6LhxHthwUme0deulW+1usquotF7lPA== |
| Return-Path | <eryksun@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'context': 0.05; '(especially': 0.07; 'matches': 0.07; 'url:msdn': 0.07; 'subject:Windows': 0.09; '[1]:': 0.09; 'debugger': 0.09; 'runtime': 0.09; 'string)': 0.09; 'output': 0.13; 'translate': 0.15; '2016': 0.16; '[1].': 0.16; 'angle': 0.16; 'brackets,': 0.16; 'breakpoint': 0.16; 'dot,': 0.16; 'locations.': 0.16; 'mapped': 0.16; 'mark,': 0.16; 'mov': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wildcards': 0.16; 'wrote:': 0.16; 'string,': 0.18; 'thanks.': 0.18; '>>>': 0.20; 'library': 0.20; 'windows': 0.20; 'to:name:python-list@python.org': 0.20; 'am,': 0.23; 'feb': 0.23; 'matching': 0.23; 'header:In-Reply-To:1': 0.24; "i've": 0.25; 'command': 0.26; 'chris': 0.26; 'fri,': 0.27; 'question': 0.27; 'message-id:@mail.gmail.com': 0.27; 'dos': 0.27; 'sequence': 0.27; 'function': 0.28; "skip:' 10": 0.28; 'values': 0.28; 'character': 0.29; 'open': 0.33; 'file': 0.34; 'received:google.com': 0.35; 'dir': 0.35; 'instead': 0.36; 'there': 0.36; 'received:209.85': 0.36; '(i.e.': 0.36; 'cases': 0.36; 'url:library': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'files': 0.38; 'or,': 0.38; 'end': 0.39; 'to:addr:python.org': 0.40; 'more': 0.63; 'url:en-us': 0.72; 'special': 0.73; 'carried': 0.76; 'asterisk': 0.84; 'url:auth': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=wT5RaWM7szeBiTzoq2BcjkkDtMX6S+sSMuaLz2ZrHao=; b=RFn+SsR++WoY4XyY1jBiT6T1hjpndyDinfYZVt2zkCrpJJXUkIRWvaRzfwczehWXz+ uuGQGr0/nAdUpeowIrVMfagfI/GKhtohoGTaiZHoFJd2dQGAbe80/a1pQSzEhDb1sETm MHsdzTRODygf7KE/IJsaEhkecVp/+mMOkJc3mZsvzEcnjsR9dMgFcHimIA9EmloNYVeL 0KfG9tkuj91qQ+MNomeRNEWkoVn2ddV3KMgmPMd6KKxeOM+F1lT8B339q5czKyviWJPp bGe4bWqRrIYs139oQlKtNbQfLEFtBDIkiKqxApXLC+zyZ0IHfMuQFv5aGgI06QnG0F37 CDvw== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=wT5RaWM7szeBiTzoq2BcjkkDtMX6S+sSMuaLz2ZrHao=; b=mAMgysbLacDEJ6PogrBrNknGKydRL79AvXxnpMEhakPUopc6zN97cPGmSZnIIeYCXn 0en+mYtpUFgEEKiWiAF9eknW9nNUAuzSUYqvNaJo7e3m+lIDTdY+N2pNVzyC4XQC/1BY vJFlcDXBSWHeyG6vKP22yTc8rZ5eZqJR+7q1pofoeCvOURxKolqi2+E5F1vWwRU9phmJ ZUmXrcZzbEluplYTzje1aeosGHqS4LP/mQwtVc5Bt3XxUVOf7/h7jeYEbxArJCxhowAf KWPL4oc3s3WYkypofaod+SvCN8NSBf2x2t5KAOK4/LvQCWzjlbL0GrUJUJTN7RPxpG1U 4rvw== |
| X-Gm-Message-State | AG10YORoecDCa1tbDrsB+plI77FpudaZctpgZ8tBrMpaqwQ3VAMebUn6wiQeB0jTa7BFEX5AXlX/HjjAQ2rPKg== |
| X-Received | by 10.50.61.210 with SMTP id s18mr4300775igr.55.1455905109855; Fri, 19 Feb 2016 10:05:09 -0800 (PST) |
| In-Reply-To | <CAPTjJmrn1BPYi3R1c_jbbL6Pmp0aUWLJNxbNdfsMr8eFdcWkNA@mail.gmail.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.21rc2 |
| 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> |
| Xref | csiph.com comp.lang.python:103209 |
Show key headers only | View raw
On Fri, Feb 19, 2016 at 4:48 AM, Chris Angelico <rosuav@gmail.com> wrote:
> On Fri, Feb 19, 2016 at 9:42 PM, Ulli Horlacher
> <framstag@rus.uni-stuttgart.de> wrote:
>> pyotr filipivich <phamp@mindspring.com> wrote:
>>
>>> > Windows (especially 7) search function is highly crippled. There is
>>> >some command sequence that will open it up to looking at other file types
>>> >and locations.
>>> >
>>> >http://answers.microsoft.com/en-us/windows/forum/windows_7-files/windows-7-search-does-not-find-files-that-it/61b88d5e-7df7-4427-8a2e-82b801a4a746?auth=1
>>>
>>>
>>> Thanks. I've found it "simpler" to just open a command prompt, and
>>> use DOS.
>>
>> How can one search for files with DOS?
>
> dir /s /b \*add2path.*
This search is carried out by Windows NT instead of MS-DOS in almost
all cases nowadays:
Z:\Python\repo\2.7>dir /s /b Tools\Scripts\win_add?*.*
Breakpoint 0 hit
ntdll!NtQueryDirectoryFile:
00007ffb`d9d138c0 4c8bd1 mov r10,rcx
0:000> dS poi(@rsp + a*8)
000000df`bab1ff9a "win_add><"*"
NT has normal (i.e. sane) * and ? wildcard matching, so WinAPI
FindFirstFile has to translate DOS wildcards to special values before
calling NtQueryDirectoryFile. See the file-system runtime library
function FsRtlIsNameInExpression [1]. Dot, question mark, and asterisk
may be mapped (depending on context in the string) to double quote and
the angle brackets, as shown in the above debugger output in which
'win_add?*.*' is passed to the system call as 'win_add><"*'.
DOS_DOT (")
Matches either a period or zero characters beyond the
name string.
DOS_QM (>)
Matches any single character or, upon encountering a
period or end of name string, advances the expression
to the end of the set of contiguous DOS_QMs.
DOS_STAR (<)
Matches zero or more characters until encountering
and matching the final . in the name.
[1]: https://msdn.microsoft.com/en-us/library/ff546850
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
extending PATH on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-16 08:30 +0000
Re: extending PATH on Windows? Thorsten Kampe <thorsten@thorstenkampe.de> - 2016-02-16 13:19 +0100
Re: extending PATH on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-16 12:38 +0000
Re: extending PATH on Windows? Thorsten Kampe <thorsten@thorstenkampe.de> - 2016-02-16 14:38 +0100
Re: extending PATH on Windows? Thorsten Kampe <thorsten@thorstenkampe.de> - 2016-02-16 14:43 +0100
Re: extending PATH on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-17 17:49 +0000
Re: extending PATH on Windows? eryk sun <eryksun@gmail.com> - 2016-02-17 13:02 -0600
Re: extending PATH on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-17 20:29 +0000
Re: extending PATH on Windows? eryk sun <eryksun@gmail.com> - 2016-02-17 15:17 -0600
Re: extending PATH on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-17 22:37 +0000
Re: extending PATH on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-18 16:55 +0000
Re: extending PATH on Windows? eryk sun <eryksun@gmail.com> - 2016-02-19 12:07 -0600
Re: extending PATH on Windows? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-02-17 19:53 -0500
Re: extending PATH on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-18 16:24 +0000
Re: extending PATH on Windows? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-02-18 21:57 -0500
Re: extending PATH on Windows? pyotr filipivich <phamp@mindspring.com> - 2016-02-18 19:39 -0800
Re: extending PATH on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-19 10:42 +0000
Re: extending PATH on Windows? Chris Angelico <rosuav@gmail.com> - 2016-02-19 21:48 +1100
Re: extending PATH on Windows? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-02-19 07:45 -0500
Re: extending PATH on Windows? Gisle Vanem <gvanem@yahoo.no> - 2016-02-19 15:18 +0100
Re: extending PATH on Windows? pyotr filipivich <phamp@mindspring.com> - 2016-02-19 09:04 -0800
Re: extending PATH on Windows? eryk sun <eryksun@gmail.com> - 2016-02-19 12:04 -0600
Re: extending PATH on Windows? eryk sun <eryksun@gmail.com> - 2016-02-19 12:42 -0600
Re: extending PATH on Windows? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-02-19 19:57 -0500
Re: extending PATH on Windows? eryk sun <eryksun@gmail.com> - 2016-02-20 07:31 -0600
Re: extending PATH on Windows? eryk sun <eryksun@gmail.com> - 2016-02-18 06:54 -0600
Re: extending PATH on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-18 16:50 +0000
Re: extending PATH on Windows? eryk sun <eryksun@gmail.com> - 2016-02-16 07:17 -0600
csiph-web