use depends.exe to open cmd.exe It delay loads shell32.dll and uses the functions ShellExecuteExW and SHChangeNotify so it may use them. Garth Michael Walter wrote: >Ah, I see. > >Thanks, >Michael > >On Thu, 9 Sep 2004 11:49:57 +0200, Fredrik Lundh <fredrik at pythonware.com> wrote: > > >>Michael Walter wrote: >> >> >> >>>I guessed CMD.EXE would run ShellExecute(), to which you can pass a >>>filename such as "foo.py". Didn't verify this tho :) >>> >>> >>>dumpbin /imports \windows\system32\cmd.exe | grep Shell >>> >>> >>>dumpbin /imports \windows\system32\cmd.exe | grep Create >>> >>> >> 7C81E968 4A CreateDirectoryW >> 7C802332 66 CreateProcessW >> 7C810976 52 CreateFileW >> >>(I doubt ShellExecute gives cmd.exe the control it needs. besides, ShellExecute >>is part of the shell layer, not the core Windows API. and the shell layer depends >>on everyone and his brother; I doubt they want the command line interface to >>depend on the GDI layer, RPC services, etc.) >> >></F> >> >> >> >> >>_______________________________________________ >>Python-Dev mailing list >>Python-Dev at python.org >>http://mail.python.org/mailman/listinfo/python-dev >>Unsubscribe: http://mail.python.org/mailman/options/python-dev/michael.walter%40gmail.com >> >> >> >_______________________________________________ >Python-Dev mailing list >Python-Dev at python.org >http://mail.python.org/mailman/listinfo/python-dev >Unsubscribe: http://mail.python.org/mailman/options/python-dev/garth%40garthy.com > > >
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4