Using Python scripts in Windows Explorer

Ben Sizer kylotan at gmail.com
Mon Oct 23 12:52:02 CEST 2006


MC wrote:
> I use this little batch:
>
>     @echo off
>     cd \dev\python
>     viewarg.py %*

I try that (with viewarg.py renamed, obviously), and get this error:

"'defines.py' is not recognized as an internal or external command,
operable program or batch file."

defines.py is in the same directory as the batch file, but cannot be
executed like this. Double-clicking on it works, as expected.

-- 
Ben Sizer




More information about the Python-list mailing list