On Fri, Jun 14, 2013 at 12:05 PM, Jim Mooney <cybervigila...@gmail.com> wrote:
> On 14 June 2013 08:49, eryksun <eryk...@gmail.com> wrote:
>>
>>     C:\>doskey calc=c:\python33\python -c "from cmath import *;print($*)"
>>
>>     C:\>calc e**(1j*pi/3)
>>     (0.5000000000000001+0.8660254037844386j)
>>
>> Cool. I totally forgot about doskey macros. Still could be useful, and it
>> looks like they're still in win 7.

doskey.exe is a Windows COFF/PE executable. It provides a command-line
interface to the Windows console alias and history functions, such as

    GetConsoleAliases
    GetConsoleAliasExes
    AddConsoleAlias
    GetConsoleCommandHistory (undocumented)
    SetConsoleNumberOfCommands (undocumented)
    ExpungeConsoleCommandHistory (undocumented)

Microsoft has hardly changed the Windows console in 20 years. I think
the biggest change was migrating console window management from the
system process csrss.exe to the user process conhost.exe in Windows 7
(NT 6.1).

http://technet.microsoft.com/en-us/library/cc753867.aspx

http://msdn.microsoft.com/en-us/library/ms682073
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to