¡@

Home 

python Programming Glossary: file_type

How to write a batch file showing path to executable and version of Python handling Python scripts on Windows?

http://stackoverflow.com/questions/7825780/how-to-write-a-batch-file-showing-path-to-executable-and-version-of-python-handl

f skip 2 tokens 1 2 i in 'reg query HKCR .py ve' do set file_type k for f skip 2 tokens 1 2 i in 'reg query HKCR file_type shell.. file_type k for f skip 2 tokens 1 2 i in 'reg query HKCR file_type shell open command ve' do echo k ... and improved version SOLUTION.. 2 tokens 1 2 i in 'reg query HKCR .py ve 2^ nul' do set file_type k if file_type value not set echo No file type set for .py extension..