Guest BoaterDave Posted August 19, 2007 Posted August 19, 2007 Can somone please advise what this .bat file instruction actually does to my PC (XP Home SP2) @echo off rem Working IDLE bat for Windows - uses start instead of absolute pathname start idle.pyw %1 %2 %3 %4 %5 %6 %7 %8 %9 TIA David *************************************************************************
Guest Pegasus \(MVP\) Posted August 20, 2007 Posted August 20, 2007 Re: Idle.bat (Linked to Open Office I think) "BoaterDave" <BoaterDave@nospam.invalid> wrote in message news:eloDEvr4HHA.464@TK2MSFTNGP02.phx.gbl... > Can somone please advise what this .bat file instruction actually does to > my PC (XP Home SP2) > > @echo off > rem Working IDLE bat for Windows - uses start instead of absolute pathname > start idle.pyw %1 %2 %3 %4 %5 %6 %7 %8 %9 > > TIA > > David > ************************************************************************* It won't do anything on a standard Windows machine because Windows does not know what to do with an extension of ".pyw".
Guest Paul Randall Posted August 20, 2007 Posted August 20, 2007 Re: Idle.bat (Linked to Open Office I think) ..PYW files may be python scripts. Some OEM computers, my Compaq with Vista preinstalled for instance, have a version of Python installed and may have many python scripts for various purposes. Search your registry, for keys, with the string pyw. I have installed a different version of python on my WXP system; .pyw files are listed in the registry as being type Python.NoConFile, whatever that means :-). If .PYW is in your registry, then running the batch file will try to find and run the idly.pyw script, passing it up to 9 parameters that you would type behind the name of the batch file when you run it in a command line window. You might get a feel for what it does by searching for idle.pyw and viewing it in notepad or your favorite text viewer. Well written scripts often have comments that even a caveman can understand. -Paul Randall "BoaterDave" <BoaterDave@nospam.invalid> wrote in message news:eloDEvr4HHA.464@TK2MSFTNGP02.phx.gbl... > Can somone please advise what this .bat file instruction actually does to > my PC (XP Home SP2) > > @echo off > rem Working IDLE bat for Windows - uses start instead of absolute pathname > start idle.pyw %1 %2 %3 %4 %5 %6 %7 %8 %9 > > TIA > > David > ************************************************************************* >
Recommended Posts