Idle.bat (Linked to Open Office I think)

  • Thread starter Thread starter BoaterDave
  • Start date Start date
B

BoaterDave

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
*************************************************************************
 
BoaterDave said:
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".
 
..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
 
Back
Top